summaryrefslogtreecommitdiff
path: root/test/data/auth/external-successful.auth-script
blob: 222938cccecc69404f90d1ec19676ff2f4375171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
## this tests a successful auth of type EXTERNAL

SERVER
## verify that prior to doing anything, we haven't authed as anyone
EXPECT_HAVE_NO_CREDENTIALS
SEND 'AUTH EXTERNAL USERID_HEX'
EXPECT_COMMAND OK
EXPECT_STATE WAITING_FOR_INPUT
SEND 'BEGIN'
EXPECT_STATE AUTHENTICATED
## verify that we now have some credentials
EXPECT_HAVE_SOME_CREDENTIALS