diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/auth_test.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/auth_test.rb b/test/auth_test.rb index b8c3c05..182722f 100644 --- a/test/auth_test.rb +++ b/test/auth_test.rb @@ -10,6 +10,16 @@ class User @salt = salt @verifier = verifier end + + def handshake(aa) + @session = initialize_auth(aa) + return @session.bb + end + + def validate(m) + authenticate(m, @session) + end + end class AuthTest < Test::Unit::TestCase |