ExScimPhoenix.Plugs.RequireScopes (ex_scim_phoenix v0.2.1)

Copy Markdown View Source

Ensures the authenticated SCIM scope has the required authorization scopes.

Reads the :scopes option (a list of scope strings). If any required scope is missing from conn.assigns.scim_scope, the request is halted with a 403.