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
     
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • internalInit

      protected void internalInit(boolean forceReinit)
      Specified by:
      internalInit in class org.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 interface org.pac4j.core.profile.creator.ProfileCreator