class gafaelfawr.models.auth.Satisfy(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Authorization strategies.

Controls how to do authorization when there are multiple required scopes. A strategy of ANY allows the request if the authentication token has any of the required scopes. A strategy of ALL requires that the authentication token have all the required scopes.

Attributes Summary



Attributes Documentation

ALL = 'all'
ANY = 'any'