Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/h/a/haddock-0.6.0/haddock/api.py   haddock(Download)
    app = Klein()
    auth = haddock.auth.DefaultHaddockAuthenticator(
        haddock.auth.DummySharedSecretSource())
    cors = False
 

src/h/a/haddock-0.6.0/haddock/test/test_auth.py   haddock(Download)
    def test_checkForNoAuthBackend(self):
 
        authenticator = auth.DefaultHaddockAuthenticator(None)
 
        self.assertRaises(
 
        authenticator = auth.DefaultHaddockAuthenticator(
            auth.InMemoryStringSharedSecretSource(users))
 
        authDeferred = authenticator.auth_usernameAndPassword(
 
        authenticator = auth.DefaultHaddockAuthenticator(
            auth.InMemoryStringSharedSecretSource(users))
 
        authDeferred = authenticator.auth_usernameAndHMAC(

src/h/a/haddock-0.6.0/haddock/test/test_api.py   haddock(Download)
 
    auth = haddock.auth.DefaultHaddockAuthenticator(
        haddock.auth.InMemoryStringSharedSecretSource(users))