Boruta.Oauth.AuthorizationRequest (Boruta core v3.0.0-beta.4)

View Source

Authorization request and utilities

Summary

Types

client_authentication()

@type client_authentication() :: %{
  client_id: String.t(),
  credentials: %{required(String.t()) => String.t()}
}

t()

@type t() :: %Boruta.Oauth.AuthorizationRequest{
  client_authentication: nil | client_authentication(),
  client_id: String.t(),
  code_challenge: String.t(),
  code_challenge_method: String.t(),
  expires_at: nil | integer(),
  id: nil | String.t(),
  redirect_uri: String.t(),
  response_type: String.t(),
  scope: String.t(),
  state: String.t()
}

Functions

expired?(authorization_request)

persisted?(arg1)

to_params(request)

@spec to_params(request :: t()) :: params :: map()