Thomas Rittson
|
57f88bf89c
|
Update tests for new stateService interface
|
2021-12-21 11:56:38 +10:00 |
|
Thomas Rittson
|
1f11b7cc3b
|
Run Prettier
|
2021-12-20 14:20:58 +10:00 |
|
Thomas Rittson
|
54b4154c02
|
Make authResult.twoFactor a getter
|
2021-12-20 14:15:53 +10:00 |
|
Thomas Rittson
|
c2f21e03a9
|
Add helper methods to authResult
|
2021-12-20 12:34:57 +10:00 |
|
Thomas Rittson
|
9c22bfd1e8
|
Move captchaToken to passwordTokenRequest subclass
|
2021-12-20 12:06:05 +10:00 |
|
Thomas Rittson
|
358ba67e82
|
Move api specific stateService calls to entry method
|
2021-12-20 11:41:46 +10:00 |
|
Thomas Rittson
|
c8eb559f06
|
Clean up unused services and imports
|
2021-12-20 11:05:39 +10:00 |
|
Thomas Rittson
|
c026265219
|
Move Key Connector logic into that service
|
2021-12-20 10:51:20 +10:00 |
|
Thomas Rittson
|
2551da6592
|
Make LoginTwoFactor call entry methods
Also fix authingWith* methods
|
2021-12-20 10:32:58 +10:00 |
|
Thomas Rittson
|
e05fd25198
|
Remove email from processTokenResponse args
|
2021-12-20 09:29:03 +10:00 |
|
Thomas Rittson
|
208e88800b
|
Lift tokenRequest and api call to request methods
Also reduce amount of persistent state (WIP)
|
2021-12-20 09:20:46 +10:00 |
|
Thomas Rittson
|
bb04c5bf86
|
Update clients to use new authService interface
|
2021-12-20 08:01:31 +10:00 |
|
Thomas Rittson
|
0e10ee2c50
|
Add tests for 2FA
|
2021-12-20 07:48:09 +10:00 |
|
Thomas Rittson
|
8999793882
|
Deprecate LogIn...Complete methods
Add TwoFactorData to main LogIn methods and handle null instead of
having duplicative methods
|
2021-12-17 20:32:09 +10:00 |
|
Thomas Rittson
|
8b7f20479e
|
Refactor TokenRequest to take TwoFactorData
|
2021-12-17 18:59:49 +10:00 |
|
Thomas Rittson
|
1acfa54f00
|
Run prettier in feature branch
|
2021-12-17 06:09:55 +10:00 |
|
Thomas Rittson
|
bd55e6ec81
|
Break tokenRequest into subclasses
|
2021-12-16 15:32:44 +10:00 |
|
Thomas Rittson
|
dee5c4bef9
|
Extract 2FA methods to twoFactorService
|
2021-12-16 14:13:06 +10:00 |
|
Thomas Rittson
|
896e1ef482
|
Fix linting on tests
|
2021-12-16 09:55:35 +10:00 |
|
Thomas Rittson
|
5dfdad1a19
|
Add test: api key happy path
|
2021-12-16 09:52:12 +10:00 |
|
Thomas Rittson
|
1ec50eb1e8
|
Add test: do not set keys in new SSO user flow
|
2021-12-16 09:21:10 +10:00 |
|
Thomas Rittson
|
f0bfc7c68d
|
Fixed broken SSO tests
|
2021-12-16 09:07:20 +10:00 |
|
Thomas Rittson
|
16b4910aa8
|
Add test: send 2FA token to server
|
2021-12-16 08:14:36 +10:00 |
|
Thomas Rittson
|
88e47054fd
|
WIP SSO tests
|
2021-12-15 14:57:43 +10:00 |
|
Thomas Rittson
|
23cfd1de7f
|
Add test for returning early if 2FA required
|
2021-12-15 13:15:04 +10:00 |
|
Thomas Rittson
|
e2fd3bd5a9
|
Add test for making new KeyPair for old account
|
2021-12-15 12:49:36 +10:00 |
|
Thomas Rittson
|
bfda066bd7
|
WIP test for Key Connector TODO later
|
2021-12-15 12:46:35 +10:00 |
|
Thomas Rittson
|
f548402777
|
Add test for existing keyConnector user
|
2021-12-15 11:22:15 +10:00 |
|
Thomas Rittson
|
75db9be248
|
Add test for setCryptoKeys parameter
|
2021-12-15 11:16:03 +10:00 |
|
Thomas Rittson
|
6e34585dfd
|
Add test for captcha
|
2021-12-15 11:10:15 +10:00 |
|
Thomas Rittson
|
5e8cc522fb
|
Move common assertions into function
|
2021-12-15 10:57:46 +10:00 |
|
Thomas Rittson
|
5537d001e1
|
Move out common variables and setup for re-use
|
2021-12-15 10:53:18 +10:00 |
|
Thomas Rittson
|
70b743347c
|
Initial test for authService
|
2021-12-15 10:40:57 +10:00 |
|