Class OktaEndSessionEndpoint

java.lang.Object
io.micronaut.security.oauth2.endpoint.endsession.request.AbstractEndSessionRequest
io.micronaut.security.oauth2.endpoint.endsession.request.OktaEndSessionEndpoint
All Implemented Interfaces:
EndSessionEndpoint

public class OktaEndSessionEndpoint extends AbstractEndSessionRequest
Provides specific configuration to logout from Okta.
Since:
1.2.0
Author:
Sergio del Amo
See Also:
  • Constructor Details

  • Method Details

    • getUrl

      protected String getUrl()
      Specified by:
      getUrl in class AbstractEndSessionRequest
      Returns:
      The url of the request
    • getArguments

      protected Map<String,Object> getArguments(io.micronaut.http.HttpRequest<?> originating, Authentication authentication)
      Specified by:
      getArguments in class AbstractEndSessionRequest
      Parameters:
      originating - The originating request
      authentication - The authentication
      Returns:
      The parameters to include in the URL
    • parseIdToken

      protected Optional<String> parseIdToken(io.micronaut.http.HttpRequest<?> request, Authentication authentication)
      /**
      Parameters:
      request - The HTTP Request
      authentication - The authentication
      Returns:
      An ID token if it could be resolved