Shopifex v0.5.2 Shopifex.Plug.ShopifySession View Source
Link to this section Summary
Functions
Returns the token for the current session in a plug which has
passed through the :shopify_session
pipeline, or the
Shopifex.Plug.ShopifySession
plug.
Link to this section Functions
Specs
session_token(Plug.Conn.t()) :: Guardian.Token.token() | nil
Returns the token for the current session in a plug which has
passed through the :shopify_session
pipeline, or the
Shopifex.Plug.ShopifySession
plug.
Example
iex> session_token(conn)
"header.payload.signature"