Packages
YipyipExAuth has been retired and replaced by Charon. Check it out at https://github.com/weareyipyip/charon or https://hexdocs.pm/charon
Current section
Files
Jump to
Current section
Files
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