PrimaAuth0Ex.TokenProvider.TokenInfo (prima_auth0_ex v0.9.4)

View Source

Information related to a JWT, including the JWT itself and additional metadata

Summary

Types

t()

@type t() :: %PrimaAuth0Ex.TokenProvider.TokenInfo{
  expires_at: non_neg_integer(),
  issued_at: non_neg_integer(),
  jwt: String.t(),
  kid: String.t() | nil
}

Functions

from_jwt(jwt)

@spec from_jwt(String.t()) :: t()