Package org.pac4j.oidc.profile.creator
Class OidcProfileCreator
- java.lang.Object
-
- org.pac4j.core.util.InitializableObject
-
- org.pac4j.core.profile.definition.ProfileDefinitionAware
-
- org.pac4j.oidc.profile.creator.OidcProfileCreator
-
- All Implemented Interfaces:
org.pac4j.core.profile.creator.ProfileCreator
- Direct Known Subclasses:
AzureAdProfileCreator
public class OidcProfileCreator extends org.pac4j.core.profile.definition.ProfileDefinitionAware implements org.pac4j.core.profile.creator.ProfileCreator
OpenID Connect profile creator.- Since:
- 1.9.2
- Author:
- Jerome Leleu
-
-
Field Summary
Fields Modifier and Type Field Description protected OidcClient
client
protected OidcConfiguration
configuration
-
Constructor Summary
Constructors Constructor Description OidcProfileCreator(OidcConfiguration configuration, OidcClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<org.pac4j.core.profile.UserProfile>
create(org.pac4j.core.credentials.Credentials cred, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
protected void
internalInit(boolean forceReinit)
-
Methods inherited from class org.pac4j.core.profile.definition.ProfileDefinitionAware
defaultProfileDefinition, getProfileDefinition, setProfileDefinition
-
Methods inherited from class org.pac4j.core.util.InitializableObject
afterInternalInit, beforeInternalInit, getLastAttempt, getMaxAttempts, getMinTimeIntervalBetweenAttemptsInMilliseconds, getNbAttempts, init, init, isInitialized, reinit, setMaxAttempts, setMinTimeIntervalBetweenAttemptsInMilliseconds, shouldInitialize
-
-
-
-
Field Detail
-
configuration
protected OidcConfiguration configuration
-
client
protected OidcClient client
-
-
Constructor Detail
-
OidcProfileCreator
public OidcProfileCreator(OidcConfiguration configuration, OidcClient client)
-
-
Method Detail
-
internalInit
protected void internalInit(boolean forceReinit)
- Specified by:
internalInit
in classorg.pac4j.core.util.InitializableObject
-
create
public java.util.Optional<org.pac4j.core.profile.UserProfile> create(org.pac4j.core.credentials.Credentials cred, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
- Specified by:
create
in interfaceorg.pac4j.core.profile.creator.ProfileCreator
-
-