1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-07-01 11:24:59 +02:00
bitwarden-mobile/src/Core/Services
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
..
ApiService.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00
AppIdService.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
AuditService.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
AuthService.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00
AzureFileUploadService.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
BitwardenFileUploadService.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
BroadcasterService.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
CipherService.cs [Linked fields] Add Linked Field as a custom field type (#1563) 2021-11-09 07:34:16 +10:00
CollectionService.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
ConsoleLogService.cs log service 2019-06-03 12:52:46 -04:00
CryptoService.cs Use 2 iterations for local password hashing (#1423) 2021-06-15 07:39:34 +10:00
EnvironmentService.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
EventService.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
ExportService.cs Add encKeyValidation string to encrypted exports (#1412) 2021-05-29 06:16:19 +10:00
FileUploadService.cs Use type to ensure transmitted data is encrypted (#1422) 2021-06-09 08:45:30 -05:00
FolderService.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
InMemoryStorageService.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
KeyConnectorService.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00
LiteDbStorageService.cs Workaround for lack of shared DB support (#1182) 2020-12-16 16:37:26 -05:00
PasswordGenerationService.cs lib updates (#1381) 2021-05-13 14:15:26 -04:00
PclCryptoFunctionService.cs Port send jslib to mobile (#1219) 2021-01-25 14:27:38 -06:00
PolicyService.cs fix for crash on startup when policies are non-existent (#1579) 2021-10-14 13:53:57 -04:00
SearchService.cs Send feature for mobile (#1256) 2021-02-10 19:50:10 -05:00
SendService.cs Use CipherByteArray to signify encrypted byte[] (#1366) 2021-04-21 15:27:14 -05:00
SettingsService.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
StateService.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
SyncService.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00
TokenService.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00
TotpService.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
UserService.cs [Reset Password v1] Update Temp Password (#1492) 2021-09-24 13:14:26 -05:00
UserVerificationService.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00
VaultTimeoutService.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00