Boruta.Oauth.CodeRequest (Boruta core v1.2.1) View Source
Code request
Link to this section Summary
Types
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(),
code_challenge: String.t(),
code_challenge_method: String.t(),
grant_type: String.t(),
redirect_uri: String.t(),
resource_owner: struct(),
response_type: term(),
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.