orxtra v0.13.0 /auth.src.orxtra.auth._authorizer
On this page

Authorizer.authorize checks that an AuthContext's scopes contain a required_scope, raising AuthorizationError when the consumer lacks it -- the scope check enforced at dispatch's choke point.

#auth.src.orxtra.auth._authorizer

#auth.src.orxtra.auth._authorizer

#Authorizer

Checks whether an auth context has the required scope.

#authorize

python
def authorize(self, auth_context: AuthContext, required_scope: str) -> None
Search