-
Method Summary
default <A> A
Get the OAuth 2.0 token attribute by name
Get the OAuth 2.0 token attributes
-
Method Details
-
getAttribute
@Nullable
default <A> A getAttribute(String name)
Get the OAuth 2.0 token attribute by name
- Type Parameters:
A - the type of the attribute
- Parameters:
name - the name of the attribute
- Returns:
- the attribute or
null otherwise
-
getAttributes
Get the OAuth 2.0 token attributes
- Returns:
- the OAuth 2.0 token attributes
-
getAuthorities
- Returns:
- the OAuth 2.0 token authorities