Class OAuth20ProfileCreatorWrapper
java.lang.Object
org.pac4j.oauth.profile.creator.OAuth20ProfileCreator
de.xima.fc.web.common.auth.creator.OAuth20ProfileCreatorWrapper
- All Implemented Interfaces:
org.pac4j.core.profile.creator.ProfileCreator
@Deprecated
public class OAuth20ProfileCreatorWrapper
extends org.pac4j.oauth.profile.creator.OAuth20ProfileCreator
Deprecated.
- Author:
- rth
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.pac4j.core.client.IndirectClient
protected org.pac4j.oauth.config.OAuthConfiguration
protected final org.slf4j.Logger
protected static final com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
ConstructorsConstructorDescriptionOAuth20ProfileCreatorWrapper
(org.pac4j.oauth.config.OAuth20Configuration configuration, org.pac4j.core.client.IndirectClient client) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.pac4j.core.profile.UserProfile>
create
(org.pac4j.core.credentials.Credentials arg0, org.pac4j.core.context.WebContext arg1, org.pac4j.core.context.session.SessionStore arg2) protected com.github.scribejava.core.model.OAuthRequest
createOAuthRequest
(String arg0, com.github.scribejava.core.model.Verb arg1) protected Optional<org.pac4j.core.profile.UserProfile>
retrieveUserProfileFromToken
(org.pac4j.core.context.WebContext arg0, com.github.scribejava.core.model.Token arg1) protected String
sendRequestForData
(com.github.scribejava.core.oauth.OAuthService arg0, com.github.scribejava.core.model.Token arg1, String arg2, com.github.scribejava.core.model.Verb arg3) protected void
signRequest
(com.github.scribejava.core.oauth.OAuthService service, com.github.scribejava.core.model.Token accessToken, com.github.scribejava.core.model.OAuthRequest request) Deprecated.Methods inherited from class org.pac4j.oauth.profile.creator.OAuth20ProfileCreator
addTokenToProfile, getAccessToken
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
mapper
protected static final com.fasterxml.jackson.databind.ObjectMapper mapper -
configuration
protected org.pac4j.oauth.config.OAuthConfiguration configuration -
client
protected org.pac4j.core.client.IndirectClient client
-
-
Constructor Details
-
OAuth20ProfileCreatorWrapper
public OAuth20ProfileCreatorWrapper(org.pac4j.oauth.config.OAuth20Configuration configuration, org.pac4j.core.client.IndirectClient client) Deprecated.
-
-
Method Details
-
signRequest
protected void signRequest(com.github.scribejava.core.oauth.OAuthService service, com.github.scribejava.core.model.Token accessToken, com.github.scribejava.core.model.OAuthRequest request) Deprecated.- Overrides:
signRequest
in classorg.pac4j.oauth.profile.creator.OAuth20ProfileCreator
-
create
public Optional<org.pac4j.core.profile.UserProfile> create(org.pac4j.core.credentials.Credentials arg0, org.pac4j.core.context.WebContext arg1, org.pac4j.core.context.session.SessionStore arg2) - Specified by:
create
in interfaceorg.pac4j.core.profile.creator.ProfileCreator
-
retrieveUserProfileFromToken
protected Optional<org.pac4j.core.profile.UserProfile> retrieveUserProfileFromToken(org.pac4j.core.context.WebContext arg0, com.github.scribejava.core.model.Token arg1) -
sendRequestForData
-
createOAuthRequest
protected com.github.scribejava.core.model.OAuthRequest createOAuthRequest(String arg0, com.github.scribejava.core.model.Verb arg1)
-
DropBoxProfileCreator
.