Pleroma v1.1.9-10-g42f76306+dev Pleroma.Web.OAuth.Token.Utils View Source
Auxiliary functions for dealing with tokens.
Link to this section Summary
Link to this section Functions
Link to this function
fetch_app(conn)
View Sourcefetch_app(Plug.Conn.t()) :: {:ok, Pleroma.Web.OAuth.App.t()} | {:error, :not_found}
Fetch app by client credentials from request
convert token inserted_at to unix timestamp