Package io.micronaut.security.token
Class MapClaims
- java.lang.Object
-
- io.micronaut.security.token.MapClaims
-
-
Constructor Summary
Constructors Constructor Description MapClaims(java.util.Map<java.lang.String,java.lang.Object> m)
Creates a MapClaims with the corresponding backing map.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(java.lang.String claimName)
java.lang.Object
get(java.lang.String claimName)
Retrieves a value from the claims for the given name.java.util.Set<java.lang.String>
names()
-
-
-
Method Detail
-
get
@Nullable public java.lang.Object get(java.lang.String claimName)
Description copied from interface:Claims
Retrieves a value from the claims for the given name.
-
names
@Nonnull public java.util.Set<java.lang.String> names()
-
-