ArchAstro.Types.Operations.PostOauthToken.Input (archastro v0.2.0)

Copy Markdown

Exchange a grant for OAuth tokens

Summary

Types

t()

@type t() :: %ArchAstro.Types.Operations.PostOauthToken.Input{
  client: String.t() | ArchAstro.Unset.t(),
  code: String.t() | ArchAstro.Unset.t(),
  code_verifier: String.t() | ArchAstro.Unset.t(),
  device_code: String.t() | ArchAstro.Unset.t(),
  grant_type: String.t(),
  redirect_uri: String.t() | ArchAstro.Unset.t(),
  refresh_token: String.t() | ArchAstro.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()