Class GoogleWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>>
- java.lang.Object
-
- de.xima.fc.web.common.auth.wrapper.GoogleWrapper<T>
-
- Type Parameters:
T
- the type of theIAuthenticator
- All Implemented Interfaces:
IAuthenticatorWrapper<T>
,Serializable
@Deprecated public class GoogleWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>> extends Object implements IAuthenticatorWrapper<T>
Deprecated.Will be replaced by properties model in modulefc-security
in version 8.0.0.Wrapper for an google authenticator- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_CLIENT_ID
Deprecated.static String
ATTR_CLIENT_SECRET
Deprecated.static String
ATTR_REQUEST_SCOPE
Deprecated.
-
Constructor Summary
Constructors Constructor Description GoogleWrapper(T authenticator)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.pac4j.oauth.client.Google2Client
buildAuthClient(IFormAuthContext authCtx)
Deprecated.Builds the authentication client based on the current data of the wrapperT
getAuthenticator()
Deprecated.Gets theIAuthenticator
-entityString
getClientID()
Deprecated.String
getClientSecret()
Deprecated.org.pac4j.oauth.client.Google2Client.Google2Scope
getScope()
Deprecated.void
setClientID(String clientID)
Deprecated.void
setClientSecret(String clientSecret)
Deprecated.void
setScope(org.pac4j.oauth.client.Google2Client.Google2Scope scope)
Deprecated.
-
-
-
Field Detail
-
ATTR_CLIENT_ID
public static final String ATTR_CLIENT_ID
Deprecated.- See Also:
- Constant Field Values
-
ATTR_CLIENT_SECRET
public static final String ATTR_CLIENT_SECRET
Deprecated.- See Also:
- Constant Field Values
-
ATTR_REQUEST_SCOPE
public static final String ATTR_REQUEST_SCOPE
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GoogleWrapper
public GoogleWrapper(T authenticator)
Deprecated.
-
-
Method Detail
-
getAuthenticator
public T getAuthenticator()
Deprecated.Description copied from interface:IAuthenticatorWrapper
Gets theIAuthenticator
-entity- Specified by:
getAuthenticator
in interfaceIAuthenticatorWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>>
- Returns:
- the
IAuthenticator
-
getClientID
public String getClientID()
Deprecated.
-
setClientID
public void setClientID(String clientID)
Deprecated.
-
getClientSecret
public String getClientSecret()
Deprecated.
-
setClientSecret
public void setClientSecret(String clientSecret)
Deprecated.
-
setScope
public void setScope(org.pac4j.oauth.client.Google2Client.Google2Scope scope)
Deprecated.
-
getScope
public org.pac4j.oauth.client.Google2Client.Google2Scope getScope()
Deprecated.
-
buildAuthClient
public org.pac4j.oauth.client.Google2Client buildAuthClient(IFormAuthContext authCtx)
Deprecated.Description copied from interface:IAuthenticatorWrapper
Builds the authentication client based on the current data of the wrapper- Specified by:
buildAuthClient
in interfaceIAuthenticatorWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>>
- Parameters:
authCtx
-IFormAuthContext
to build the client for- Returns:
- the
Client
-
-