Boruta.Oauth.CodeRequest (Boruta core v0.2.1) View Source

Code request

Link to this section Summary

Types

t()

Type representing a code request as stated in OAuth 2.0 RFC.

Link to this section Types

Specs

t() :: %Boruta.Oauth.CodeRequest{
  client_id: String.t(),
  grant_type: String.t(),
  redirect_uri: String.t(),
  resource_owner: struct(),
  scope: String.t(),
  state: String.t()
}

Type representing a code request as stated in OAuth 2.0 RFC.

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