def __ror__(cls, other): return OperandHolder(OR, other, cls)
class ClientAuthApi(APIAuthenticateView): authentication_classes = (TokenAuthentication, BasicAuthentication,) permission_classes = [OperandHolder(OR, OperandHolder(OR, IsAuthenticatedClient, IsAuthenticatedStaff), IsAuthenticatedAdmin),]
def __rand__(cls, other): return OperandHolder(AND, other, cls)
class StaffBasicAuthApi(APIAuthenticateView): authentication_classes = (BasicAuthentication,) permission_classes = [OperandHolder(OR, IsAuthenticatedStaff, IsAuthenticatedAdmin),]