Class NonceAttributes
Object
se.curity.identityserver.sdk.attribute.Attributes
se.curity.identityserver.sdk.attribute.token.TokenDataAttributes
se.curity.identityserver.sdk.attribute.token.NonceAttributes
- All Implemented Interfaces:
Iterable<Attribute>,AttributeContainer<Attributes>,SerializableAsMap
- Direct Known Subclasses:
AuthorizationCodeNonceAttributes,DeviceCodeNonceAttributes
A base class for attributes that represent nonces. This class and subclasses are used
with the
NonceIssuer interface when issuing nonces.- Since:
- 8.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
AttributeContainer.TypeConversionStrategy -
Field Summary
Fields inherited from class se.curity.identityserver.sdk.attribute.token.TokenDataAttributes
CREATED_KEY, ISSUED_AT_KEY, PURPOSE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NonceAttributesCreates a nonce attributes using the providedmap.Returns the instant indicating when this nonce will expire.static NonceAttributesof(Attributes attributes) Creates a nonce attributes using the providedAttributes.Methods inherited from class se.curity.identityserver.sdk.attribute.token.TokenDataAttributes
getCreated, getCreatedKey, getPurposeMethods 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
-
Constructor Details
-
NonceAttributes
-
-
Method Details
-
fromMap
Creates a nonce attributes using the providedmap.- Parameters:
map- the map used to createNonceAttributes- Returns:
- the created
NonceAttributes
-
of
Creates a nonce attributes using the providedAttributes.- Parameters:
attributes- the attributes used to createNonceAttributes- Returns:
- the created
NonceAttributes
-
getExpires
Returns the instant indicating when this nonce will expire.- Returns:
- the instant value of the
expiresclaim
-