public interface OAuth2AuthHandler extends AuthHandler
| Modifier and Type | Method and Description | 
|---|---|
static OAuth2AuthHandler | 
create(OAuth2Auth authProvider)
Create a OAuth2 auth handler without host pinning. 
 | 
static OAuth2AuthHandler | 
create(OAuth2Auth authProvider,
      String callbackURL)
Create a OAuth2 auth handler with host pinning 
 | 
OAuth2AuthHandler | 
extraParams(JsonObject extraParams)
Extra parameters needed to be passed while requesting a token. 
 | 
OAuth2AuthHandler | 
setupCallback(Route route)
add the callback handler to a given route. 
 | 
addAuthorities, addAuthority, authorize, parseCredentialsstatic OAuth2AuthHandler create(OAuth2Auth authProvider, String callbackURL)
authProvider - the auth provider to usecallbackURL - the callback URL you entered in your provider admin console, usually it should be something like: `https://myserver:8888/callback`static OAuth2AuthHandler create(OAuth2Auth authProvider)
authProvider - the auth provider to useOAuth2AuthHandler extraParams(JsonObject extraParams)
extraParams - extra optional parameters.OAuth2AuthHandler setupCallback(Route route)
route - a given route e.g.: `/callback`Copyright © 2020 Eclipse. All rights reserved.