Class ConsentorResultAttributes
Object
se.curity.identityserver.sdk.attribute.Attributes
se.curity.identityserver.sdk.oauth.consent.ConsentorResultAttributes
- All Implemented Interfaces:
Iterable<Attribute>,AttributeContainer<Attributes>,SerializableAsMap
Represents a set of attributes provided by a consentor plugin.
- Since:
- 4.1
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConsentorResultAttributesempty()Creates an empty consentor attributes.static ConsentorResultAttributesCreates consentor attributes from zero or moreAttribute.static ConsentorResultAttributesof(Attributes attributes) Creates consentor attributes from anAttributesobject.Methods inherited from class se.curity.identityserver.sdk.attribute.Attributes
append, append, asMap, contains, equals, fromMap, fromMap, get, getAll, getMandatoryAttribute, getMandatoryValue, getValuesOfType, hashCode, isEmpty, iterator, keys, of, of, of, of, of, of, removeAttributes, retainAttributes, size, stream, toMap, 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, getOptionalValue, getOptionalValue, removeAttribute, retainAttributeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
of
Creates consentor attributes from anAttributesobject.- Parameters:
attributes- the set of attributes to include.- Returns:
- the created consentor attributes.
-
of
Creates consentor attributes from zero or moreAttribute.- Parameters:
attributes- the set of attributes to include.- Returns:
- the created consentor attributes.
-
empty
Creates an empty consentor attributes.- Returns:
- the created consentor attributes.
-