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