Class UserInfoOidcAuthenticator
java.lang.Object
org.pac4j.core.util.InitializableObject
org.pac4j.oidc.credentials.authenticator.UserInfoOidcAuthenticator
- All Implemented Interfaces:
org.pac4j.core.credentials.authenticator.Authenticator
public class UserInfoOidcAuthenticator
extends org.pac4j.core.util.InitializableObject
implements org.pac4j.core.credentials.authenticator.Authenticator
The OpenId Connect authenticator by user info.
- Since:
- 3.5.0
- Author:
- Rakesh Sarangi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
collectProfileClaims
(OidcProfileDefinition profileDefinition, OidcProfile profile, Map<String, Object> claims) protected void
internalInit
(boolean forceReinit) void
setConfiguration
(OidcConfiguration configuration) void
validate
(org.pac4j.core.credentials.Credentials cred, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore) Methods inherited from class org.pac4j.core.util.InitializableObject
afterInternalInit, beforeInternalInit, getLastAttempt, getMaxAttempts, getMinTimeIntervalBetweenAttemptsInMilliseconds, getNbAttempts, init, init, isInitialized, reinit, setMaxAttempts, setMinTimeIntervalBetweenAttemptsInMilliseconds, shouldInitialize
-
Constructor Details
-
UserInfoOidcAuthenticator
public UserInfoOidcAuthenticator() -
UserInfoOidcAuthenticator
-
-
Method Details
-
internalInit
protected void internalInit(boolean forceReinit) - Specified by:
internalInit
in classorg.pac4j.core.util.InitializableObject
-
validate
public void validate(org.pac4j.core.credentials.Credentials cred, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore) - Specified by:
validate
in interfaceorg.pac4j.core.credentials.authenticator.Authenticator
-
collectProfileClaims
protected void collectProfileClaims(OidcProfileDefinition profileDefinition, OidcProfile profile, Map<String, Object> claims) -
getConfiguration
-
setConfiguration
-