authable v0.10.0 Authable.Model.Token
OAuth2 token store
Link to this section Summary
Functions
Creates a changeset based on the model
and params
Link to this section Functions
Link to this function
access_token_changeset(model, params \\ :empty)
Link to this function
authorization_code_changeset(model, params \\ :empty)
Link to this function
changeset(model, params \\ :empty)
Creates a changeset based on the model
and params
.
If no params are provided, an invalid changeset is returned with no validation performed.
Link to this function
is_expired?(token)
Link to this function
refresh_token_changeset(model, params \\ :empty)
Link to this function
session_token_changeset(model, params \\ :empty)