Unit.Resource.AuthorizedUser (Unit v1.0.0)

Copy Markdown View Source

Represents an individual authorized to act on behalf of a customer.

Authorized users can authenticate (create customer tokens) and initiate activity on behalf of the customer. Primarily used for business customers.

Summary

Types

t()

@type t() :: %Unit.Resource.AuthorizedUser{
  email: String.t() | nil,
  full_name: map() | nil,
  jwt_subject: String.t() | nil,
  phone: map() | nil,
  status: String.t() | nil
}

Functions

cast(map)

@spec cast(map()) :: t()