Satisfy#

class gafaelfawr.models.auth.Satisfy(*values)#

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'#