View Source Boruta.Oauth.TokenRequest (Boruta core v2.1.0)

Implicit request

Link to this section Summary

Types

t()

Type representing an implicit request as stated in OAuth 2.0 RFC and OpenId Connect core 1.0

Link to this section Types

Specs

t() :: %Boruta.Oauth.TokenRequest{
  client_id: String.t(),
  grant_type: String.t(),
  nonce: String.t(),
  prompt: term(),
  redirect_uri: String.t(),
  resource_owner: struct(),
  response_types: [String.t()],
  scope: String.t(),
  state: String.t()
}

Type representing an implicit request as stated in OAuth 2.0 RFC and OpenId Connect core 1.0

Note : resource_owner is an addition that must be provided by the application layer.

Link to this section Functions

Link to this function

require_nonce?(token_request)

View Source

Specs

require_nonce?(request :: t()) :: boolean()