Guardian pipeline for optional API JWT authentication.
Unlike GamendWeb.Auth.Pipeline, this pipeline does NOT require
authentication — it simply loads the user if a valid Bearer token is
present in the Authorization header, otherwise continues with
current_scope set to an anonymous scope.
Use this on public endpoints that can optionally enrich responses when the caller is authenticated (e.g. showing user progress on quests).
Summary
Functions
Callback implementation for Plug.call/2.
Callback implementation for Plug.init/1.