@Singleton
public class EndSessionEndpointResolver
extends java.lang.Object
Constructor and Description |
---|
EndSessionEndpointResolver(io.micronaut.context.BeanContext beanContext) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<EndSessionEndpoint> |
resolve(OauthClientConfiguration oauthClientConfiguration,
OpenIdProviderMetadata openIdProviderMetadata,
EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder)
Attempts to resolve an end session request in the
following order:
1.
|
java.util.Optional<EndSessionEndpoint> |
resolve(OauthClientConfiguration oauthClientConfiguration,
java.util.function.Supplier<OpenIdProviderMetadata> openIdProviderMetadata,
EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder)
Attempts to resolve an end session request in the
following order:
1.
|
public EndSessionEndpointResolver(io.micronaut.context.BeanContext beanContext)
beanContext
- The bean contextpublic java.util.Optional<EndSessionEndpoint> resolve(OauthClientConfiguration oauthClientConfiguration, OpenIdProviderMetadata openIdProviderMetadata, EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder)
oauthClientConfiguration
- The client configurationopenIdProviderMetadata
- The provider metadataendSessionCallbackUrlBuilder
- The end session callback builderpublic java.util.Optional<EndSessionEndpoint> resolve(OauthClientConfiguration oauthClientConfiguration, java.util.function.Supplier<OpenIdProviderMetadata> openIdProviderMetadata, EndSessionCallbackUrlBuilder endSessionCallbackUrlBuilder)
oauthClientConfiguration
- The client configurationopenIdProviderMetadata
- The provider metadata supplierendSessionCallbackUrlBuilder
- The end session callback builder