Constructor and Description |
---|
MapClaims(java.util.Map<java.lang.String,java.lang.Object> m)
Creates a MapClaims with the corresponding backing map.
|
Modifier and Type | Method and 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() |
public MapClaims(java.util.Map<java.lang.String,java.lang.Object> m)
m
- is the backing map@Nullable public java.lang.Object get(java.lang.String claimName)
Claims
@NonNull public java.util.Set<java.lang.String> names()