public interface Claims
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String name) |
java.lang.Object |
get(java.lang.String name)
Retrieves a value from the claims for the given name.
|
java.util.Set<java.lang.String> |
names() |
@Nullable java.lang.Object get(java.lang.String name)
name
- the claim namenull
if the claim not exist or the claim value.@NonNull java.util.Set<java.lang.String> names()
boolean contains(java.lang.String name)
name
- the claim namefalse
if the claim does not exist.