An auth handler that provides OAuth2 Authentication support. This handler is suitable for AuthCode flows.
AnythingOAuth2AuthHandlerBasicIdentifiableObjectAnythingno subtypes hierarchy
| Initializer |
OAuth2AuthHandler(OAuth2AuthHandler unknown) |
| Inherited Attributes |
Attributes inherited from: Objecthash, string |
| Methods | |
addAuthorities | shared actual default AuthHandler addAuthorities(Set<String> authorities)Add a set of required authorities for this auth handler Parameters:
Refines AuthHandler.addAuthorities |
addAuthority | shared actual default AuthHandler addAuthority(String authority)Add a required authority for this auth handler Parameters:
Refines AuthHandler.addAuthority |
authURI | shared default String authURI(String redirectURL, String state)Build the authorization URL. Parameters:
|
handle | shared actual default void handle(RoutingContext arg0)Refines AuthHandler.handle |
setupCallback | shared default OAuth2AuthHandler setupCallback(Route route)add the callback handler to a given route. Parameters:
|
| Inherited Methods |
Methods inherited from: Objectequals |
Methods inherited from: AuthHandler |