Class AwsCognitoEndSessionEndpoint
- java.lang.Object
-
- io.micronaut.security.oauth2.endpoint.endsession.request.AbstractEndSessionRequest
-
- io.micronaut.security.oauth2.endpoint.endsession.request.AwsCognitoEndSessionEndpoint
-
- All Implemented Interfaces:
EndSessionEndpoint
public class AwsCognitoEndSessionEndpoint extends AbstractEndSessionRequest
Provides specific configuration to logout from AWS Cognito.- Since:
- 1.2.0
- Author:
- Sergio del Amo
- See Also:
- AWS Cognito Logout Endpoint
-
-
Field Summary
-
Fields inherited from class io.micronaut.security.oauth2.endpoint.endsession.request.AbstractEndSessionRequest
clientConfiguration, endSessionCallbackUrlBuilder, providerMetadata
-
-
Constructor Summary
Constructors Constructor Description AwsCognitoEndSessionEndpoint(EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder, OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata providerMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<java.lang.String,java.lang.Object>
getArguments(io.micronaut.http.HttpRequest originating, Authentication authentication)
protected java.lang.String
getUrl()
-
Methods inherited from class io.micronaut.security.oauth2.endpoint.endsession.request.AbstractEndSessionRequest
getRedirectUri, getUrl
-
-
-
-
Constructor Detail
-
AwsCognitoEndSessionEndpoint
public AwsCognitoEndSessionEndpoint(EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder, OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata providerMetadata)
- Parameters:
endSessionCallbackUrlBuilder
- The end session callback URL builderclientConfiguration
- The client configurationproviderMetadata
- The provider metadata
-
-
Method Detail
-
getUrl
protected java.lang.String getUrl()
- Specified by:
getUrl
in classAbstractEndSessionRequest
- Returns:
- The url of the request
-
getArguments
protected java.util.Map<java.lang.String,java.lang.Object> getArguments(io.micronaut.http.HttpRequest originating, Authentication authentication)
- Specified by:
getArguments
in classAbstractEndSessionRequest
- Parameters:
originating
- The originating requestauthentication
- The authentication- Returns:
- The parameters to include in the URL
-
-