public class GenericOAuth20Client extends OAuth20Client<OAuth20Profile>
This class is a generic OAuth2 client to authenticate users in a standard OAuth2 server.
All configuration parameters can be specified setting the corresponding attribute.
It returns a OAuth20Profile.
configurationATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolver, urlResolverlogger| Constructor and Description |
|---|
GenericOAuth20Client() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clientInit() |
void |
setAuthUrl(java.lang.String authUrl) |
void |
setCustomParams(java.util.Map<java.lang.String,java.lang.String> customParamsMap) |
void |
setProfileAttrs(java.util.Map<java.lang.String,java.lang.String> profileAttrsMap) |
void |
setProfileNodePath(java.lang.String profilePath) |
void |
setProfileUrl(java.lang.String profileUrl) |
void |
setProfileVerb(com.github.scribejava.core.model.Verb profileVerb) |
void |
setTokenUrl(java.lang.String tokenUrl) |
getConfiguration, getKey, getSecret, setConfiguraton, setKey, setSecret, toStringcomputeFinalCallbackUrl, defaultLogoutActionBuilder, defaultRedirectActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getLogoutAction, getLogoutActionBuilder, getRedirectAction, getRedirectActionBuilder, getUrlResolver, internalInit, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setLogoutActionBuilder, setRedirectActionBuilder, setUrlResolveraddAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreatorinitprotected void clientInit()
clientInit in class OAuth20Client<OAuth20Profile>public void setAuthUrl(java.lang.String authUrl)
public void setTokenUrl(java.lang.String tokenUrl)
public void setProfileUrl(java.lang.String profileUrl)
public void setProfileNodePath(java.lang.String profilePath)
public void setProfileVerb(com.github.scribejava.core.model.Verb profileVerb)
public void setProfileAttrs(java.util.Map<java.lang.String,java.lang.String> profileAttrsMap)
public void setCustomParams(java.util.Map<java.lang.String,java.lang.String> customParamsMap)
Copyright © 2018. All Rights Reserved.