OIDCScope#
- class gafaelfawr.models.oidc.OIDCScope(*values)#
Bases:
StrEnumA recognized OpenID Connect scope.
This should not be directly exposed in the model of any endpoint. Instead, the
strscope parameter should be parsed with theparse_scopesclass method to yield a list ofOIDCScopeobjects.Attributes Summary
Methods Summary
parse_scopes(scopes)Parse a space-separated list of scopes.
Attributes Documentation
- email = 'email'#
- openid = 'openid'#
- profile = 'profile'#
- rubin = 'rubin'#
Methods Documentation
- classmethod parse_scopes(scopes)#
Parse a space-separated list of scopes.
Any unknown scopes are silently ignored, following the OpenID Connect Core specification.