View Source Boruta.Oauth.AuthorizationRequest (Boruta core v3.0.0-beta.2)

Authorization request and utilities

Summary

Types

Link to this type

client_authentication()

View Source
@type client_authentication() :: %{
  client_id: String.t(),
  credentials: %{required(String.t()) => String.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

Link to this function

expired?(authorization_request)

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