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
Deprecated.
Use
providerMetadataSupplier instead. |
protected java.util.function.Supplier<OpenIdProviderMetadata> |
providerMetadataSupplier |
Constructor and Description |
---|
AbstractEndSessionRequest(EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder,
OauthClientConfiguration clientConfiguration,
OpenIdProviderMetadata providerMetadata)
Deprecated.
|
AbstractEndSessionRequest(EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder,
OauthClientConfiguration clientConfiguration,
java.util.function.Supplier<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
@Deprecated protected final OpenIdProviderMetadata providerMetadata
providerMetadataSupplier
instead.protected final java.util.function.Supplier<OpenIdProviderMetadata> providerMetadataSupplier
@Deprecated public AbstractEndSessionRequest(EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder, OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata providerMetadata)
AbstractEndSessionRequest(EndSessionCallbackUrlBuilder, OauthClientConfiguration, Supplier)
instead.endSessionCallbackUrlBuilder
- The end session callback URL builderclientConfiguration
- The client configurationproviderMetadata
- The provider metadatapublic AbstractEndSessionRequest(EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder, OauthClientConfiguration clientConfiguration, java.util.function.Supplier<OpenIdProviderMetadata> providerMetadata)
endSessionCallbackUrlBuilder
- The end session callback URL builderclientConfiguration
- The client configurationproviderMetadata
- The provider metadata supplier@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