Package org.keycloak.representations
Class AuthorizationDetailsJSONRepresentation
java.lang.Object
org.keycloak.representations.AuthorizationDetailsJSONRepresentation
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OID4VCAuthorizationDetail
The JSON representation of a Rich Authorization Request's "authorization_details" object.
The "authorization_details" parameter is array of objects and this class represents single entry of that array. It is used as a base
for "authorization_details" for both requests and responses.
- Author:
- Daniel Gozalo
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends AuthorizationDetailsJSONRepresentation>
TbooleangetType()inthashCode()voidsetActions(List<String> actions) voidsetCustomData(String key, Object value) voidsetDatatypes(List<String> datatypes) voidsetIdentifier(String identifier) voidsetLocations(List<String> locations) voidsetPrivileges(List<String> privileges) voidtoString()
-
Field Details
-
STATIC_SCOPE_RAR_TYPE
- See Also:
-
DYNAMIC_SCOPE_RAR_TYPE
- See Also:
-
-
Constructor Details
-
AuthorizationDetailsJSONRepresentation
public AuthorizationDetailsJSONRepresentation()
-
-
Method Details
-
getType
-
setType
-
getLocations
-
setLocations
-
getActions
-
setActions
-
getDatatypes
-
setDatatypes
-
getIdentifier
-
setIdentifier
-
getPrivileges
-
setPrivileges
-
getCustomData
-
setCustomData
-
toString
-
asSubtype
- Parameters:
clazz- Subtype ofAuthorizationDetailsJSONRepresentation, which will be returned by calling this method- Returns:
- this authorizationDetails content cast to the class specified by clazz parameter as long as parser corresponding to the type returned by
getType()is able to parse this authorizationDetails and convert it to that subtype
-
getScopeNameFromCustomData
-
getDynamicScopeParamFromCustomData
-
equals
-
hashCode
public int hashCode()
-