generated from bitwarden/template
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PM-10947: Handle key connector unlock for existing user (#842)
- Loading branch information
1 parent
ffbd89a
commit 9d00511
Showing
22 changed files
with
529 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
BitwardenShared/Core/Auth/Services/API/Auth/Fixtures/IdentityTokenKeyConnector.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTY5MDg4NzksInN1YiI6IjEzNTEyNDY3LTljZmUtNDNiMC05NjlmLTA3NTM0MDg0NzY0YiIsIm5hbWUiOiJCaXR3YXJkZW4gVXNlciIsImVtYWlsIjoidXNlckBiaXR3YXJkZW4uY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlhdCI6MTUxNjIzOTAyMiwicHJlbWl1bSI6ZmFsc2UsImFtciI6WyJBcHBsaWNhdGlvbiJdfQ.KDqC8kUaOAgBiUY8eeLa0a4xYWN8GmheXTFXmataFwM", | ||
"expires_in": 3600, | ||
"token_type": "Bearer", | ||
"refresh_token": "REFRESH_TOKEN", | ||
"scope": "api offline_access", | ||
"PrivateKey": "PRIVATE_KEY", | ||
"Key": "KEY", | ||
"MasterPasswordPolicy": null, | ||
"ForcePasswordReset": false, | ||
"ResetMasterPassword": false, | ||
"Kdf": 0, | ||
"KdfIterations": 600000, | ||
"KdfMemory": null, | ||
"KdfParallelism": null, | ||
"UserDecryptionOptions": { | ||
"HasMasterPassword": false, | ||
"KeyConnectorOption": { | ||
"KeyConnectorUrl": "https://vault.bitwarden.com/key-connector" | ||
}, | ||
"Object": "userDecryptionOptions" | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
BitwardenShared/Core/Auth/Services/API/Auth/Fixtures/IdentityTokenTrustedDevice.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTY5MDg4NzksInN1YiI6IjEzNTEyNDY3LTljZmUtNDNiMC05NjlmLTA3NTM0MDg0NzY0YiIsIm5hbWUiOiJCaXR3YXJkZW4gVXNlciIsImVtYWlsIjoidXNlckBiaXR3YXJkZW4uY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlhdCI6MTUxNjIzOTAyMiwicHJlbWl1bSI6ZmFsc2UsImFtciI6WyJBcHBsaWNhdGlvbiJdfQ.KDqC8kUaOAgBiUY8eeLa0a4xYWN8GmheXTFXmataFwM", | ||
"expires_in": 3600, | ||
"token_type": "Bearer", | ||
"refresh_token": "REFRESH_TOKEN", | ||
"scope": "api offline_access", | ||
"MasterPasswordPolicy": null, | ||
"ForcePasswordReset": false, | ||
"ResetMasterPassword": false, | ||
"Kdf": 0, | ||
"KdfIterations": 600000, | ||
"KdfMemory": null, | ||
"KdfParallelism": null, | ||
"UserDecryptionOptions": { | ||
"HasMasterPassword": false, | ||
"TrustedDeviceOption": { | ||
"EncryptedPrivateKey": "private-key", | ||
"EncryptedUserKey": "user-key", | ||
"HasAdminApproval": false, | ||
"HasLoginApprovingDevice": true, | ||
"HasManageResetPasswordPermission": false | ||
}, | ||
"Object": "userDecryptionOptions" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.