View Source Boruta.Oauth.CodeRequest (Boruta core v2.3.3)
Code request
Summary
Types
Type representing a code request as stated in OAuth 2.0 RFC.
Types
@type t() :: %Boruta.Oauth.CodeRequest{ client_id: String.t(), code_challenge: String.t(), code_challenge_method: String.t(), grant_type: String.t(), nonce: String.t(), prompt: String.t(), redirect_uri: String.t(), resource_owner: struct(), response_type: term(), response_types: 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.