public interface AttributeSource
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.Optional<T> |
get(java.lang.String attributePath,
java.lang.Class<T> clazz)
Fetch the attribute value with the given attribute path and type
|
java.util.Optional<java.lang.String> |
getSignedAttributesDocument() |
@Nonnull
<T> java.util.Optional<T> get(@Nonnull
java.lang.String attributePath,
@Nonnull
java.lang.Class<T> clazz)
T - the type of the attribute valueattributePath - the path to the attributeclazz - the Class containing the type of the attribute valueOptional containing the attribute value or an empty Optional if no attribute exists with
the given path@Nonnull java.util.Optional<java.lang.String> getSignedAttributesDocument()
Optional containing the underlying attribute source document which was signed by the
attribute authority or an empty Optional if it is not available