TamaOAuth.Revocation (tama_oauth v0.1.0)

Copy Markdown View Source

Parses bounded RFC 7009 token revocation requests.

Summary

Types

t()

@type t() :: %TamaOAuth.Revocation{
  client_id: String.t(),
  token: String.t(),
  token_type_hint: String.t() | nil
}

Functions

parse(params, opts \\ [])

@spec parse(
  map(),
  keyword()
) :: {:ok, t()} | {:error, TamaOAuth.Error.t()}

response()

@spec response() :: :ok