Packages

YipyipExAuth has been retired and replaced by Charon. Check it out at https://github.com/weareyipyip/charon or https://hexdocs.pm/charon

Retired package: Deprecated - This package has been succeeded by charon

Current section

Files

Jump to
yipyip_ex_auth lib models tokens.ex
Raw

lib/models/tokens.ex

defmodule YipyipExAuth.Models.Tokens do
@moduledoc """
Tokens to be communicated to the client.
"""
defstruct access_token: nil, refresh_token: nil, access_token_exp: nil, refresh_token_exp: nil
@type t :: %__MODULE__{
access_token: String.t(),
refresh_token: String.t(),
access_token_exp: integer,
refresh_token_exp: integer
}
end