|
28 | 28 | PhoneNumberVerificationMethod, |
29 | 29 | PreverifiedEmailVerification, |
30 | 30 | PreverifiedEmailVerificationMethod, |
31 | | - PreverifiedOIDCVerification, |
| 31 | + PreverifiedOidcVerification, |
32 | 32 | PreverifiedPhoneNumberVerification, |
33 | 33 | PreverifiedPhoneNumberVerificationMethod, |
34 | 34 | SharingOptions, |
@@ -241,7 +241,7 @@ async def test_tanker_enroll_user_with_preverified_methods( |
241 | 241 | [ |
242 | 242 | PreverifiedEmailVerification(preverified_email=email), |
243 | 243 | PreverifiedPhoneNumberVerification(preverified_phone_number=phone_number), |
244 | | - PreverifiedOIDCVerification( |
| 244 | + PreverifiedOidcVerification( |
245 | 245 | subject=subject, provider_id=provider_config["id"] |
246 | 246 | ), |
247 | 247 | ], |
@@ -1710,7 +1710,7 @@ async def test_register_fails_with_preverified_oidc( |
1710 | 1710 |
|
1711 | 1711 | with pytest.raises(error.InvalidArgument): |
1712 | 1712 | await tanker.register_identity( |
1713 | | - PreverifiedOIDCVerification( |
| 1713 | + PreverifiedOidcVerification( |
1714 | 1714 | subject="subject", |
1715 | 1715 | provider_id=provider_config["id"], |
1716 | 1716 | ) |
@@ -1806,7 +1806,7 @@ async def test_verify_fails_with_preverified_oidc( |
1806 | 1806 | assert phone_tanker.status == TankerStatus.IDENTITY_VERIFICATION_NEEDED |
1807 | 1807 | with pytest.raises(error.InvalidArgument): |
1808 | 1808 | await phone_tanker.verify_identity( |
1809 | | - PreverifiedOIDCVerification( |
| 1809 | + PreverifiedOidcVerification( |
1810 | 1810 | subject=extract_subject(oidc_id_token), |
1811 | 1811 | provider_id=provider_config["id"], |
1812 | 1812 | ) |
@@ -1936,7 +1936,7 @@ async def test_set_verification_method_with_oidc( |
1936 | 1936 | await laptop_tanker.register_identity(PassphraseVerification(passphrase)) |
1937 | 1937 |
|
1938 | 1938 | await laptop_tanker.set_verification_method( |
1939 | | - PreverifiedOIDCVerification(subject=subject, provider_id=provider_config["id"]) |
| 1939 | + PreverifiedOidcVerification(subject=subject, provider_id=provider_config["id"]) |
1940 | 1940 | ) |
1941 | 1941 |
|
1942 | 1942 | methods = set(await laptop_tanker.get_verification_methods()) |
|
0 commit comments