1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-06-25 10:26:02 +02:00
bitwarden-mobile/src/Core/Models/Domain
Jake Fink 13869b5a1b
[KeyConnector] Add support for key connector OTP (#1633)
* initial commit
- add UsesKeyConnector to UserService
- add models
- begin work on authentication

* finish auth workflow for key connector sso login
- finish api call for get user key
- start api calls for posts to key connector

* Bypass lock page if already unlocked

* Move logic to KeyConnectorService, log out if no pin or biometric is set

* Disable password reprompt when using key connector

* hide password reprompt checkbox when editing or adding cipher

* add PostUserKey and PostSetKeyConnector calls

* add ConvertMasterPasswordPage

* add functionality to RemoveMasterPasswordPage
- rename Convert to Remove

* Hide Change Master Password button if using key connector

* Add OTP verification for export component

* Update src/App/Pages/Vault/AddEditPage.xaml.cs

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>

* remove toolbar item "close"

* Update src/Core/Models/Request/KeyConnectorUserKeyRequest.cs

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>

* remove new line in resource string
- format warning as two labels
- set label in code behind for loading simultaneously

* implement GetAndSetKey in KeyConnectorService
- ignore EnvironmentService call

* remove unnecesary orgIdentifier

* move RemoveMasterPasswordPage call to LockPage

* add spacing to export vault page

* log out if no PIN or bio on lock page with key connector

* Delete excessive whitespace

* Delete excessive whitespace

* Change capitalisation of OTP

* add default value to models for backwards compatibility

* remove this keyword

* actually handle exceptions

* move RemoveMasterPasswordPage to TabPage using messaging service

* add minor improvements

* remove 'this.'

Co-authored-by: Hinton <oscar@oscarhinton.com>
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2021-11-10 20:46:48 -05:00
..
Attachment.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
AuthResult.cs [Reset Password v1] Update Temp Password (#1492) 2021-09-24 13:14:26 -05:00
Card.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
Cipher.cs Password reprompt (#1365) 2021-05-21 15:13:54 +02:00
Collection.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
Domain.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
EncByteArray.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
EncString.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
EnvironmentUrls.cs events url 2019-06-25 16:36:21 -04:00
Field.cs [Linked fields] Add Linked Field as a custom field type (#1563) 2021-11-09 07:34:16 +10:00
Folder.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
GeneratedPasswordHistory.cs password generation service 2019-04-17 15:23:26 -04:00
Identity.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
ITreeNodeObject.cs tree node traversal for folder 2019-04-17 08:46:51 -04:00
Login.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
LoginUri.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
MasterPasswordPolicyOptions.cs Added SSO flows and functionality (#1047) 2020-09-03 12:30:40 -04:00
Message.cs re-worked message sending 2019-04-19 12:29:37 -04:00
Organization.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00
PasswordGenerationOptions.cs Changed all C# control flow block statements to include space between keyword and open paren (#800) 2020-03-28 09:16:28 -04:00
PasswordGeneratorPolicyOptions.cs use string.Empty 2020-03-16 21:07:54 -04:00
PasswordHistory.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
Policy.cs Beginning of policy support (#736) 2020-02-21 10:23:38 -05:00
ResetPasswordPolicyOptions.cs [SSO] Auto enroll during set password (#1520) 2021-09-08 12:43:24 -05:00
SecureNote.cs domains and cipherview 2019-04-13 22:53:20 -04:00
Send.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
SendFile.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
SendText.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
SymmetricCryptoKey.cs Changed all C# control flow block statements to include space between keyword and open paren (#800) 2020-03-28 09:16:28 -04:00
TreeNode.cs children default is empty list 2019-04-22 09:08:24 -04:00
TwoFactorProvider.cs auth service 2019-04-18 09:45:31 -04:00