Package ch.tocco.nice2.sso.impl
Interface OpenIdHelperService
- All Known Implementing Classes:
OpenIdHelperServiceImpl
public interface OpenIdHelperService
-
Method Summary
Modifier and TypeMethodDescriptionbuildAuthenticationURI
(jakarta.servlet.http.HttpSession session, boolean lookupOnly, String openidProvider, String redirectUri, @Nullable String sourceUri, @Nullable String targetUri) @Nullable Entity
findPrincipal
(String subject, Entity provider) @Nullable OpenIdNonce
getOpenidNonce
(jakarta.servlet.http.HttpSession session, com.nimbusds.oauth2.sdk.id.State state) principalIsActive
(Entity principal) processAuthenticationRequest
(jakarta.servlet.http.HttpSession session, com.nimbusds.oauth2.sdk.id.State state, @Nullable com.nimbusds.oauth2.sdk.AuthorizationCode authorizationCode)
-
Method Details
-
processAuthenticationRequest
OpenIdAuthenticationInformation processAuthenticationRequest(jakarta.servlet.http.HttpSession session, com.nimbusds.oauth2.sdk.id.State state, @Nullable @Nullable com.nimbusds.oauth2.sdk.AuthorizationCode authorizationCode) throws OpenIdAuthenticationException - Throws:
OpenIdAuthenticationException
-
buildAuthenticationURI
URI buildAuthenticationURI(jakarta.servlet.http.HttpSession session, boolean lookupOnly, String openidProvider, String redirectUri, @Nullable @Nullable String sourceUri, @Nullable @Nullable String targetUri) throws OpenIdAuthenticationException - Throws:
OpenIdAuthenticationException
-
getOpenidNonce
@Nullable @Nullable OpenIdNonce getOpenidNonce(jakarta.servlet.http.HttpSession session, com.nimbusds.oauth2.sdk.id.State state) -
findPrincipal
-
principalIsActive
-