Class VerifiableCredentialSubjectAttributes
Object
se.curity.identityserver.sdk.attribute.Attributes
se.curity.identityserver.sdk.attribute.vc.w3c.VerifiableCredentialSubjectAttributes
- All Implemented Interfaces:
Iterable<Attribute>,AttributeContainer<Attributes>,SerializableAsMap
Set of attributes representing a verifiable credential subject (W3C data model).
- Since:
- 8.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
AttributeContainer.TypeConversionStrategy -
Method Summary
Modifier and TypeMethodDescriptiongetId()of(Attributes attributes) Add the given attribute if not present, or replace the attribute if it already exists.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
-
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
-
getId
-