View Source Boruta.Oauth.PreauthorizedCodeRequest (Boruta core v3.0.0-beta.1)

Preauthorized code request

Summary

Types

t()

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

Types

@type t() :: %Boruta.Oauth.PreauthorizedCodeRequest{
  client_id: String.t(),
  grant_type: String.t(),
  prompt: String.t(),
  redirect_uri: String.t(),
  resource_owner: struct(),
  response_type: String.t(),
  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.