OneAuth.Plug.LoadSession (OneAuth v0.1.0)

Copy Markdown View Source

Loads the current OneAuth session into the connection.

If a valid session token exists in the Plug session, it is verified and assigned to conn.assigns.one_auth.

Invalid or missing sessions result in conn.assigns.one_auth being nil.