Class PublicAuthenticationFlow
java.lang.Object
ch.tocco.nice2.sso.impl.authenticationflows.AbstractAuthenticationFlow
ch.tocco.nice2.sso.impl.authenticationflows.PublicAuthenticationFlow
- All Implemented Interfaces:
OpenIdAuthenticationFlow
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.nimbusds.oauth2.sdk.TokenRequest
getAccessTokenRequest
(OpenIdMetadata providerMetadata, URI redirectUri, com.nimbusds.oauth2.sdk.AuthorizationCode authorizationCode, String clientId, @Nullable String clientSecret) getName()
protected void
validateParams
(OpenIdMetadata providerMetadata, com.nimbusds.openid.connect.sdk.Nonce nonce, URI redirectUri, String clientId, com.nimbusds.oauth2.sdk.AuthorizationCode authorizationCode, @Nullable String clientSecret) Methods inherited from class ch.tocco.nice2.sso.impl.authenticationflows.AbstractAuthenticationFlow
authenticate
-
Constructor Details
-
PublicAuthenticationFlow
public PublicAuthenticationFlow()
-
-
Method Details
-
validateParams
protected void validateParams(OpenIdMetadata providerMetadata, com.nimbusds.openid.connect.sdk.Nonce nonce, URI redirectUri, String clientId, com.nimbusds.oauth2.sdk.AuthorizationCode authorizationCode, @Nullable @Nullable String clientSecret) throws OpenIdAuthenticationException - Specified by:
validateParams
in classAbstractAuthenticationFlow
- Throws:
OpenIdAuthenticationException
-
getName
-
getAccessTokenRequest
protected com.nimbusds.oauth2.sdk.TokenRequest getAccessTokenRequest(OpenIdMetadata providerMetadata, URI redirectUri, com.nimbusds.oauth2.sdk.AuthorizationCode authorizationCode, String clientId, @Nullable @Nullable String clientSecret) - Specified by:
getAccessTokenRequest
in classAbstractAuthenticationFlow
-