@Requires(property="micronaut.security.oauth2.openid.idtoken.cookie.enabled",notEquals="false") @Requires(beans=CookieSuccessfulIdTokenAccessTokenResponseHandlerConfiguration.class) @Singleton public class CookieSuccessfulIdTokenAccessTokenResponseHandler extends java.lang.Object implements SuccessfulIdTokenAccessTokenResponseHandler
SuccessfulIdTokenAccessTokenResponseHandler.| Constructor and Description |
|---|
CookieSuccessfulIdTokenAccessTokenResponseHandler(CookieSuccessfulIdTokenAccessTokenResponseHandlerConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected java.net.URI |
getRedirectUri(io.micronaut.http.HttpRequest request,
AuthenticationResponse authenticationResponse,
IdTokenAccessTokenResponse idTokenAccessTokenResponse,
io.micronaut.security.authentication.Authentication authentication) |
io.micronaut.http.HttpResponse |
handle(io.micronaut.http.HttpRequest request,
AuthenticationResponse authenticationResponse,
IdTokenAccessTokenResponse idTokenAccessTokenResponse,
io.micronaut.security.authentication.Authentication authentication) |
protected long |
secondsToExpirationTime(io.micronaut.security.authentication.Authentication authentication) |
public CookieSuccessfulIdTokenAccessTokenResponseHandler(CookieSuccessfulIdTokenAccessTokenResponseHandlerConfiguration configuration)
configuration - Cookie Successful IdToken-AccessToken Handlerpublic io.micronaut.http.HttpResponse handle(io.micronaut.http.HttpRequest request,
AuthenticationResponse authenticationResponse,
IdTokenAccessTokenResponse idTokenAccessTokenResponse,
io.micronaut.security.authentication.Authentication authentication)
handle in interface SuccessfulIdTokenAccessTokenResponseHandlerrequest - The HTTP requestauthenticationResponse - The authentication responseidTokenAccessTokenResponse - The ID Token Access Token response.authentication - The authenticationprotected long secondsToExpirationTime(io.micronaut.security.authentication.Authentication authentication)
authentication - Authenticationprotected java.net.URI getRedirectUri(io.micronaut.http.HttpRequest request,
AuthenticationResponse authenticationResponse,
IdTokenAccessTokenResponse idTokenAccessTokenResponse,
io.micronaut.security.authentication.Authentication authentication)
request - The HTTP requestauthenticationResponse - The authentication responseidTokenAccessTokenResponse - The ID Token Access Token response.authentication - The authentication