public final class GoogleAuthenticator extends AbstractOAuth2Authenticator
| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleAuthenticator.Binder
HK2 Binder for our injector context.
|
CLIENT_ID_KEY, CLIENT_SECRET_KEY, MAP_TYPE| Constructor and Description |
|---|
GoogleAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAuthEndpoint()
Google's auth endpoint.
|
protected String |
getScopes()
List of scopes that we need from google.
|
protected String |
getTokenEndpoint()
Google's token endpoint.
|
protected OAuth2User |
loadUserIdentity(OAuth2IdPToken token)
Retrieve the user info from Google.
|
authenticate, delegate, getClient, getClientId, getClientSecret, getSession, setClient, setSession, validateprotected String getAuthEndpoint()
getAuthEndpoint in class AbstractOAuth2Authenticatorprotected String getTokenEndpoint()
getTokenEndpoint in class AbstractOAuth2Authenticatorprotected String getScopes()
getScopes in class AbstractOAuth2Authenticatorprotected OAuth2User loadUserIdentity(OAuth2IdPToken token)
loadUserIdentity in class AbstractOAuth2Authenticatortoken - The OAuth token.Copyright © 2018 krotscheck.net. All rights reserved.