Package org.pac4j.oauth.profile.facebook
Class FacebookConfiguration
java.lang.Object
org.pac4j.core.util.InitializableObject
org.pac4j.core.client.config.BaseClientConfiguration
org.pac4j.oauth.config.OAuthConfiguration
org.pac4j.oauth.config.OAuth20Configuration
org.pac4j.oauth.profile.facebook.FacebookConfiguration
Facebook OAuth configuration.
- Since:
- 3.0.0
- Author:
- Jerome Leleu
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected Stringprotected intprotected booleanprotected booleanFields inherited from class org.pac4j.oauth.config.OAuth20Configuration
OAUTH_CODE, STATE_REQUEST_PARAMETERFields inherited from class org.pac4j.oauth.config.OAuthConfiguration
api, hasBeenCancelledFactory, httpClientConfig, key, OAUTH_TOKEN, profileDefinition, RESPONSE_TYPE_CODE, responseType, scope, secret, tokenAsHeader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetLimit()booleanbooleanvoidvoidsetLimit(int limit) voidsetRequiresExtendedToken(boolean requiresExtendedToken) voidsetUseAppsecretProof(boolean useAppsecretProof) Methods inherited from class org.pac4j.oauth.config.OAuth20Configuration
buildService, getCustomParams, getStateGenerator, isWithState, setCustomParams, setStateGenerator, setWithState, toStringMethods inherited from class org.pac4j.oauth.config.OAuthConfiguration
getApi, getHasBeenCancelledFactory, getHttpClientConfig, getKey, getProfileDefinition, getResponseType, getScope, getSecret, internalInit, isTokenAsHeader, setApi, setHasBeenCancelledFactory, setHttpClientConfig, setKey, setProfileDefinition, setResponseType, setScope, setSecret, setTokenAsHeaderMethods inherited from class org.pac4j.core.util.InitializableObject
afterInternalInit, beforeInternalInit, getLastAttempt, getMaxAttempts, getMinTimeIntervalBetweenAttemptsInMilliseconds, getNbAttempts, init, init, isInitialized, reinit, setMaxAttempts, setMinTimeIntervalBetweenAttemptsInMilliseconds, shouldInitialize
-
Field Details
-
DEFAULT_FIELDS
- See Also:
-
fields
-
DEFAULT_SCOPE
- See Also:
-
limit
protected int limit -
requiresExtendedToken
protected boolean requiresExtendedToken -
useAppsecretProof
protected boolean useAppsecretProof
-
-
Constructor Details
-
FacebookConfiguration
public FacebookConfiguration()
-
-
Method Details
-
getFields
-
setFields
-
getLimit
public int getLimit() -
setLimit
public void setLimit(int limit) -
isRequiresExtendedToken
public boolean isRequiresExtendedToken() -
setRequiresExtendedToken
public void setRequiresExtendedToken(boolean requiresExtendedToken) -
isUseAppsecretProof
public boolean isUseAppsecretProof() -
setUseAppsecretProof
public void setUseAppsecretProof(boolean useAppsecretProof)
-