Class TokenDataAttributes
Object
se.curity.identityserver.sdk.attribute.Attributes
se.curity.identityserver.sdk.attribute.token.TokenDataAttributes
- All Implemented Interfaces:
Iterable<Attribute>,AttributeContainer<Attributes>,SerializableAsMap
- Direct Known Subclasses:
IdTokenAttributes,NonceAttributes,OAuthTokenAttributes,VerifiableCredentialJwtVcJsonTokenDataAttributes,VerifiableCredentialVcSdJwtTokenDataAttributes
A base class for all token and nonce attributes.
- Since:
- 8.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
AttributeContainer.TypeConversionStrategy -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenDataAttributesCreates a token attributes class using the providedmap.protected Stringstatic TokenDataAttributesof(Attributes attributes) Creates a token attributes using the providedAttributes.Methods inherited from class se.curity.identityserver.sdk.attribute.Attributes
append, append, asMap, contains, empty, equals, fromMap, get, get, getAll, getMandatory, getMandatoryAttribute, getMandatoryValue, getMandatoryValue, getOptionalValue, getOptionalValue, getOptionalValue, getUniqueValuesOfType, getUniqueValuesOfType, getValuesOfType, getValuesOfType, hashCode, isEmpty, iterator, keys, of, of, of, of, of, of, of, removeAttributes, retainAttributes, size, stream, toMap, toMapWithoutMetadata, toString, with, withMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
contains, removeAttribute, retainAttributeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
PURPOSE_KEY
- See Also:
-
CREATED_KEY
- See Also:
-
ISSUED_AT_KEY
- See Also:
-
-
Constructor Details
-
TokenDataAttributes
-
-
Method Details
-
of
Creates a token attributes using the providedAttributes.- Parameters:
attributes- the attributes used to createTokenDataAttributes- Returns:
- the created
TokenDataAttributes
-
fromMap
Creates a token attributes class using the providedmap.- Parameters:
map- the map used to createTokenDataAttributes- Returns:
- the created
TokenDataAttributes
-
getCreated
- Returns:
- the instant indicating when this attributes object was created
-
getPurpose
- Returns:
- the value of the
purposeclaim
-
getCreatedKey
-