Class OID4VCAuthorizationDetail
java.lang.Object
org.keycloak.representations.AuthorizationDetailsJSONRepresentation
org.keycloak.protocol.oid4vc.model.OID4VCAuthorizationDetail
- All Implemented Interfaces:
Serializable,Cloneable
public class OID4VCAuthorizationDetail
extends AuthorizationDetailsJSONRepresentation
implements Cloneable
Represents an authorization_details object in the Token Request as per OID4VCI.
- Author:
- Forkim Akwichek
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final StringAccess token (and refresh token) claim with reference to the issued-credential ID.Fields inherited from class org.keycloak.representations.AuthorizationDetailsJSONRepresentation
DYNAMIC_SCOPE_RAR_TYPE, PARAMETERIZED_SCOPE_RAR_TYPE, STATIC_SCOPE_RAR_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()voidsetClaims(List<ClaimsDescription> claims) voidsetCredentialConfigurationId(String credentialConfigurationId) voidsetCredentialIdentifiers(List<String> credentialIdentifiers) voidsetCredentialsOfferId(String credentialsOfferId) voidsetIssuedCredentialId(String issuedCredentialId) toString()Methods inherited from class org.keycloak.representations.AuthorizationDetailsJSONRepresentation
asSubtype, getActions, getCustomData, getDatatypes, getIdentifier, getLocations, getParameterizedScopeParamFromCustomData, getPrivileges, getScopeNameFromCustomData, getType, setActions, setCustomData, setDatatypes, setIdentifier, setLocations, setPrivileges, setType
-
Field Details
-
CLAIMS
- See Also:
-
CREDENTIALS_OFFER_ID
- See Also:
-
ISSUED_CREDENTIAL_ID
Access token (and refresh token) claim with reference to the issued-credential ID. Can be used to link issued-credential with token to be able to check at credential-request (or refresh-token request) if particular issued-credential still exists- See Also:
-
-
Constructor Details
-
OID4VCAuthorizationDetail
public OID4VCAuthorizationDetail()
-
-
Method Details
-
getCredentialConfigurationId
-
setCredentialConfigurationId
-
getCredentialIdentifiers
-
setCredentialIdentifiers
-
getCredentialsOfferId
-
setCredentialsOfferId
-
getIssuedCredentialId
-
setIssuedCredentialId
-
getClaims
-
setClaims
-
clone
-
equals
- Overrides:
equalsin classAuthorizationDetailsJSONRepresentation
-
hashCode
public int hashCode()- Overrides:
hashCodein classAuthorizationDetailsJSONRepresentation
-
toString
- Overrides:
toStringin classAuthorizationDetailsJSONRepresentation
-