コード例 #1
0
ファイル: test_client_authn.py プロジェクト: jbest2015/plenum
def testAnotherAuthenticatorCanAuthenticate(sa, cli, msg, sig):
    sa2 = SimpleAuthNr()
    sa2.addClient(cli.identifier, cli.verkey)
    sa.authenticate(msg, 424242, sig)
コード例 #2
0
ファイル: test_client_authn.py プロジェクト: tomergi/plenum
def testAnotherAuthenticatorCanAuthenticate(sa, cli, msg, sig):
    sa2 = SimpleAuthNr()
    sa2.addClient(cli.identifier, cli.verkey)
    sa.authenticate(msg, 424242, sig)
コード例 #3
0
ファイル: test_client_authn.py プロジェクト: jbest2015/plenum
def sa(cli):
    sa = SimpleAuthNr()
    sa.addClient(cli.identifier, cli.verkey)
    return sa
コード例 #4
0
ファイル: test_client_authn.py プロジェクト: tomergi/plenum
def sa(cli):
    sa = SimpleAuthNr()
    sa.addClient(cli.identifier, cli.verkey)
    return sa