Example usage for Java org.springframework.security.oauth2.provider OAuth2Authentication fields, constructors, methods, implement or subclass
The text is from its open source code.
OAuth2Authentication(OAuth2Request storedRequest, Authentication userAuthentication) Construct an OAuth 2 authentication. |
Collection | getAuthorities() |
Object | getCredentials() |
Object | getDetails() |
String | getName() |
OAuth2Request | getOAuth2Request() The authorization request containing details of the client application. |
Object | getPrincipal() |
Authentication | getUserAuthentication() The user authentication. |
boolean | isAuthenticated() |
boolean | isClientOnly() Convenience method to check if there is a user associated with this token, or just a client application. |
void | setAuthenticated(boolean authenticated) |
void | setDetails(Object details) |