AttestoPhoenix.Plug.RequireScopes (AttestoPhoenix v0.6.1)

Copy Markdown View Source

Phoenix alias for Attesto.Plug.RequireScopes.

Scope authorization is protocol logic, so the implementation remains in the core attesto package and uses Attesto.Scope grant-form algebra. This module exists to give Phoenix routers a stable AttestoPhoenix.Plug.* surface alongside AttestoPhoenix.Plug.Authenticate.