T - the type of the IAuthenticatorpublic class GoogleWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>> extends Object implements IAuthenticatorWrapper<T>
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ATTR_CLIENT_ID  | 
static String | 
ATTR_CLIENT_SECRET  | 
static String | 
ATTR_REQUEST_SCOPE  | 
| Constructor and Description | 
|---|
GoogleWrapper(T authenticator)  | 
| Modifier and Type | Method and Description | 
|---|---|
org.pac4j.oauth.client.Google2Client | 
buildAuthClient(IFormAuthContext authCtx)
Builds the authentication client based on the current data of the wrapper 
 | 
T | 
getAuthenticator()
Gets the  
IAuthenticator-entity | 
String | 
getClientID()  | 
String | 
getClientSecret()  | 
org.pac4j.oauth.client.Google2Client.Google2Scope | 
getScope()  | 
void | 
setClientID(String clientID)  | 
void | 
setClientSecret(String clientSecret)  | 
void | 
setScope(org.pac4j.oauth.client.Google2Client.Google2Scope scope)  | 
public static final String ATTR_CLIENT_ID
public static final String ATTR_CLIENT_SECRET
public static final String ATTR_REQUEST_SCOPE
public GoogleWrapper(T authenticator)
public T getAuthenticator()
IAuthenticatorWrapperIAuthenticator-entitygetAuthenticator in interface IAuthenticatorWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>>IAuthenticatorpublic String getClientID()
public void setClientID(String clientID)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public void setScope(org.pac4j.oauth.client.Google2Client.Google2Scope scope)
public org.pac4j.oauth.client.Google2Client.Google2Scope getScope()
public org.pac4j.oauth.client.Google2Client buildAuthClient(IFormAuthContext authCtx)
IAuthenticatorWrapperbuildAuthClient in interface IAuthenticatorWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>>authCtx - IFormAuthContext to build the client forClientCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.