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

Implicit request

Summary

Types

t()

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

Types

@type 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.

Functions

Link to this function

require_nonce?(token_request)

View Source
@spec require_nonce?(request :: t()) :: boolean()