Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/g/i/gitmouth-HEAD/gitmouth/realm.py   gitmouth(Download)
from twisted.cred.portal import IRealm
from zope.interface import implements
 
from .session import OpenRukoSession
 
    def requestAvatar(self, auth_payload, mind, *interfaces):
        api_key, key_fingerprint = auth_payload.split(':', 1)
        payload = (interfaces[0], OpenRukoSession(self.settings, api_key,
                                                  key_fingerprint), lambda: None)
        return payload