Class DelegationConsentResult
Object
se.curity.identityserver.sdk.data.authorization.DelegationConsentResult
Represents the consent result stored in a delegation.
- Since:
- 4.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionDelegationConsentResult(String consentorId, ConsentorResultAttributes consentorResultAttributes) -
Method Summary
Modifier and TypeMethodDescriptionasMap()Creates a map with the serialization of this consent result.booleanstatic @Nullable DelegationConsentResultTries to deserialize aDelegationConsentResultfrom a map.inthashCode()
-
Constructor Details
-
DelegationConsentResult
public DelegationConsentResult(String consentorId, ConsentorResultAttributes consentorResultAttributes) - Parameters:
consentorId- the identifier for the consentor used in the consent process.consentorResultAttributes- the consentor result attributes.
-
-
Method Details
-
getConsentorId
- Returns:
- the identifier for the consentor used in the consent process.
-
getConsentorResultAttributes
- Returns:
- the consentor result attributes.
-
asMap
Creates a map with the serialization of this consent result.- Returns:
- a map with the serialization of this consent result.
-
fromMap
Tries to deserialize aDelegationConsentResultfrom a map.- Parameters:
map- the map with the serialization.- Returns:
- the deserialized
DelegationConsentResult
-
equals
-
hashCode
public int hashCode()
-