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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionOptional<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 Details
-
configuration
-
client
-
-
Constructor Details
-
OidcProfileCreator
-
-
Method Details
-
internalInit
protected void internalInit(boolean forceReinit) - Specified by:
internalInit
in classorg.pac4j.core.util.InitializableObject
-
create
public 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
-