ArchAstro.SDK.Types.DeviceAuthorizationDetailsResponse (archastro v0.3.3)

Copy Markdown

User-visible details for a pending OAuth 2.0 device authorization.

Summary

Types

t()

@type t() :: %ArchAstro.SDK.Types.DeviceAuthorizationDetailsResponse{
  client_name: String.t(),
  expires_at: DateTime.t(),
  scopes: [String.t()]
}

Functions

from_map(data)

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

matches?(value)

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

to_map(value)

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