public abstract class AbstractEndSessionRequest extends java.lang.Object implements EndSessionEndpoint
Modifier and Type | Field and Description |
---|---|
protected OauthClientConfiguration |
clientConfiguration |
protected EndSessionCallbackUrlBuilder |
endSessionCallbackUrlBuilder |
protected OpenIdProviderMetadata |
providerMetadata |
Constructor and Description |
---|
AbstractEndSessionRequest(EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder,
OauthClientConfiguration clientConfiguration,
OpenIdProviderMetadata providerMetadata) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.Map<java.lang.String,java.lang.Object> |
getArguments(io.micronaut.http.HttpRequest originating,
Authentication authentication) |
protected java.lang.String |
getRedirectUri(io.micronaut.http.HttpRequest originating) |
protected abstract java.lang.String |
getUrl() |
java.lang.String |
getUrl(io.micronaut.http.HttpRequest originating,
Authentication authentication) |
protected final EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder
protected final OauthClientConfiguration clientConfiguration
protected final OpenIdProviderMetadata providerMetadata
public AbstractEndSessionRequest(EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder, OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata providerMetadata)
endSessionCallbackUrlBuilder
- The end session callback URL builderclientConfiguration
- The client configurationproviderMetadata
- The provider metadata@Nullable public java.lang.String getUrl(io.micronaut.http.HttpRequest originating, Authentication authentication)
getUrl
in interface EndSessionEndpoint
originating
- The Originating HTTP Requestauthentication
- The authentication.protected abstract java.lang.String getUrl()
protected abstract java.util.Map<java.lang.String,java.lang.Object> getArguments(io.micronaut.http.HttpRequest originating, Authentication authentication)
originating
- The originating requestauthentication
- The authenticationprotected java.lang.String getRedirectUri(io.micronaut.http.HttpRequest originating)
originating
- The originating request