Interface AuthorizationRequest

All Known Subinterfaces:
OauthAuthorizationRequest, OpenIdAuthorizationRequest

public interface AuthorizationRequest
OAuth 2.0 Authorization Request.
See Also:
  • Field Details

  • Method Details

    • getScopes

      @NonNull @NonNull List<String> getScopes()
      Returns:
      OAuth 2.0 scopes.
    • getClientId

      @NonNull @NonNull String getClientId()
      Returns:
      OAuth 2.0 Client Identifier valid at the Authorization Server.
    • getState

      Optional<String> getState(io.micronaut.http.MutableHttpResponse<?> response)
      Parameters:
      response - authorization redirect response
      Returns:
      Opaque value used to maintain state between the request and the callback.
    • getResponseType

      @NonNull @NonNull String getResponseType()
      Returns:
      OAuth 2.0 Response Type value that determines the authorization processing flow to be used, including what parameters are returned from the endpoints used.
    • getRedirectUri

      Optional<String> getRedirectUri()
      Returns:
      Redirection URI to which the response will be sent.
    • getPkceChallenge

      @NonNull default @NonNull Optional<PkceChallenge> getPkceChallenge(@NonNull @NonNull io.micronaut.http.MutableHttpResponse<?> response)
      Parameters:
      response - HTTP Response
      Returns:
      The PCKE challenge
      Since:
      3.9.0
      See Also: