l.s.w.t.t.Checker(AuthorizationBase) : class documentation

Part of lp.services.webapp.tests.test_authorization View In Hierarchy

See IAuthorization.

Instances of this class record calls made to IAuthorization methods.

Method __init__ Undocumented
Method checkUnauthenticated See IAuthorization.checkUnauthenticated.
Method checkAuthenticated See IAuthorization.checkAuthenticated.

Inherited from AuthorizationBase:

Method checkPermissionIsRegistered Pass through to checkPermission.
Method forwardCheckAuthenticated Forward request to another security adapter.
Method forwardCheckUnauthenticated Forward request to another security adapter.
Method _checkAndFetchNext Undocumented
def __init__(self, obj, calls):
Undocumented
def checkUnauthenticated(self):
See IAuthorization.checkUnauthenticated.

We record the call and then return False, arbitrarily chosen, to keep the policy from complaining.

def checkAuthenticated(self, user):
See IAuthorization.checkAuthenticated.

We record the call and then return False, arbitrarily chosen, to keep the policy from complaining.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.