Package | Description |
---|---|
com.authlete.common.api |
The definition of Authlete API (
AuthleteApi ) and the factory class (AuthleteApiFactory ). |
Modifier and Type | Method and Description |
---|---|
static AccessRight |
AccessRight.fromJson(String key)
Look up and fetch an access right value based on its
(lowercased) name from a JSON object.
|
static AccessRight |
AccessRight.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessRight[] |
AccessRight.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AccessRight.canDo(long clientId,
long serviceId,
AccessRight compare)
Return true if this access right has at least the amount of access of the
compared access right.
|
boolean |
AccessRight.canDoAny(long serviceId,
AccessRight compare)
Return true if this access right has at least the amount of access of the
compared access right on any object in the list.
|
Copyright © 2024. All rights reserved.