Class Auth0EndSessionEndpoint
java.lang.Object
io.micronaut.security.oauth2.endpoint.endsession.request.AbstractEndSessionRequest
io.micronaut.security.oauth2.endpoint.endsession.request.Auth0EndSessionEndpoint
- All Implemented Interfaces:
EndSessionEndpoint
Provides specific configuration to logout from Auth0.
- Since:
- 1.2.0
- Author:
- Sergio del Amo
- See Also:
-
Field Summary
Fields inherited from class io.micronaut.security.oauth2.endpoint.endsession.request.AbstractEndSessionRequest
clientConfiguration, endSessionCallbackUrlBuilder, providerMetadataSupplier -
Constructor Summary
ConstructorsConstructorDescriptionAuth0EndSessionEndpoint(EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder, OauthClientConfiguration clientConfiguration, Supplier<OpenIdProviderMetadata> providerMetadata) -
Method Summary
Modifier and TypeMethodDescriptiongetArguments(io.micronaut.http.HttpRequest<?> originating, Authentication authentication) protected StringgetUrl()Methods inherited from class io.micronaut.security.oauth2.endpoint.endsession.request.AbstractEndSessionRequest
getRedirectUri, getUrl
-
Constructor Details
-
Auth0EndSessionEndpoint
public Auth0EndSessionEndpoint(EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder, OauthClientConfiguration clientConfiguration, Supplier<OpenIdProviderMetadata> providerMetadata) - Parameters:
endSessionCallbackUrlBuilder- The end session callback URL builderclientConfiguration- The client configurationproviderMetadata- The provider metadata supplier
-
-
Method Details
-
getUrl
- Specified by:
getUrlin classAbstractEndSessionRequest- Returns:
- The url of the request
-
getArguments
protected Map<String,Object> getArguments(io.micronaut.http.HttpRequest<?> originating, Authentication authentication) - Specified by:
getArgumentsin classAbstractEndSessionRequest- Parameters:
originating- The originating requestauthentication- The authentication- Returns:
- The parameters to include in the URL
-