Interface OpenIdClient

All Superinterfaces:
OauthClient
All Known Implementing Classes:
DefaultOpenIdClient

public interface OpenIdClient extends OauthClient
Extends the OauthClient with OpenID specific functionality.
Since:
1.2.0
Author:
James Kleeh
See Also:
  • Method Details

    • supportsEndSession

      boolean supportsEndSession()
      Returns:
      True if this client supports end session
    • endSessionRedirect

      Optional<io.micronaut.http.MutableHttpResponse<?>> endSessionRedirect(io.micronaut.http.HttpRequest<?> request, Authentication authentication)
      Redirects to the end session endpoint of an OpenID provider. Returns an empty optional if the provider does not support end session or an EndSessionEndpoint could not be resolved for the provider.
      Parameters:
      request - The current request
      authentication - The current authentication
      Returns:
      An optional response