Class VerifiableCredentialJwtVcJsonTokenDataAttributes
Object
se.curity.identityserver.sdk.attribute.Attributes
se.curity.identityserver.sdk.attribute.token.TokenDataAttributes
se.curity.identityserver.sdk.attribute.vc.w3c.VerifiableCredentialJwtVcJsonTokenDataAttributes
- All Implemented Interfaces:
Iterable<Attribute>,AttributeContainer<Attributes>,SerializableAsMap
@Experimental
public final class VerifiableCredentialJwtVcJsonTokenDataAttributes
extends TokenDataAttributes
Token data attributes for a Verifiable Credential with format 'jwt_vc_json'
- Since:
- 8.2.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
ISSUED_AT_KEY -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringof(Attributes attributes) Add the given attribute if not present, or replace the attribute if it already exists.withVerifiableCredential(VerifiableCredentialAttributes verifiableCredentialAttributes) 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, 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
-
Method Details
-
of
-
fromMap
-
getCreatedKey
- Overrides:
getCreatedKeyin classTokenDataAttributes
-
with
Description copied from interface:AttributeContainerAdd the given attribute if not present, or replace the attribute if it already exists. Note that two attributes with the same name and different authorities are considered distinct.- Specified by:
within interfaceAttributeContainer<Attributes>- Overrides:
within classAttributes- Parameters:
attribute- attribute to add or to override- Returns:
- a copy of this which contains the given Attribute
-
getVerifiableCredential
-
withVerifiableCredential
public VerifiableCredentialJwtVcJsonTokenDataAttributes withVerifiableCredential(VerifiableCredentialAttributes verifiableCredentialAttributes) -
getCreated
- Overrides:
getCreatedin classTokenDataAttributes- Returns:
- the instant indicating when this attributes object was created
-
getExpires
-
getPurpose
- Overrides:
getPurposein classTokenDataAttributes- Returns:
- the value of the
purposeclaim
-
getIssuer
-