pyramid_cubicweb/authplugin.py
changeset 11537 caf268942436
parent 11482 151b8a4b9f3f
equal deleted inserted replaced
11536:6618408c0629 11537:caf268942436
    17 
    17 
    18 
    18 
    19 class DirectAuthentifier(native.BaseAuthentifier):
    19 class DirectAuthentifier(native.BaseAuthentifier):
    20     """return CWUser eid for the given login.
    20     """return CWUser eid for the given login.
    21 
    21 
    22     Before doing so, it makes sure the authentication request comes from
    22     Before doing so, it makes sure the authentication request is not coming
    23     xxx by checking the special '__externalauth_directauth' kwarg.
    23     from ouside by checking the special '__externalauth_directauth' kwarg.
    24 
    24 
    25     """
    25     """
    26 
    26 
    27     auth_rql = (
    27     auth_rql = (
    28         'Any U WHERE U is CWUser, '
    28         'Any U WHERE U is CWUser, '