Uses of Class
com.authlete.common.api.AccessRight
-
Packages that use AccessRight Package Description com.authlete.common.api The definition of Authlete API (AuthleteApi
) and the factory class (AuthleteApiFactory
). -
-
Uses of AccessRight in com.authlete.common.api
Methods in com.authlete.common.api that return AccessRight Modifier and Type Method 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.Methods in com.authlete.common.api with parameters of type AccessRight Modifier and Type Method 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.
-