Ebay.Auth.Token (ElixirBay v0.1.1)

Copy Markdown

OAuth token struct returned by eBay authorization flows.

Applications can store this struct as part of their own persistence layer and pass it back to the SDK when needed.

Summary

Types

t()

@type t() :: %Ebay.Auth.Token{
  access_token: String.t() | nil,
  expires_at: DateTime.t() | nil,
  expires_in: integer() | nil,
  refresh_token: String.t() | nil,
  scopes: [String.t()],
  token_type: String.t() | nil
}

Functions

new(attrs \\ [])

@spec new(keyword()) :: t()