Boruta core v0.1.0-rc.5 Boruta.Oauth.CodeRequest 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

Link to this type

t()

View Source
t() :: %Boruta.Oauth.CodeRequest{
  client_id: 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.