T - the type of the IAuthenticatorpublic class FacebookWrapper<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_REQUESTED_FIELS |
static String |
ATTR_REQUESTED_SCOPE |
| Constructor and Description |
|---|
FacebookWrapper(T authenticator) |
| Modifier and Type | Method and Description |
|---|---|
org.pac4j.oauth.client.FacebookClient |
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() |
String |
getFields() |
String |
getScope() |
void |
setClientID(String clientID) |
void |
setClientSecret(String clientSecret) |
void |
setFields(String fields) |
void |
setScope(String scopes) |
public static final String ATTR_CLIENT_ID
public static final String ATTR_CLIENT_SECRET
public static final String ATTR_REQUESTED_FIELS
public static final String ATTR_REQUESTED_SCOPE
public FacebookWrapper(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 String getScope()
public void setScope(String scopes)
public String getFields()
public void setFields(String fields)
public org.pac4j.oauth.client.FacebookClient 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.