1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-27 03:52:57 +02:00
bitwarden-mobile/src/Core/Models/Response
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
..
AttachmentResponse.cs more models 2019-04-12 11:42:45 -04:00
AttachmentUploadDataReponse.cs Attachment azure upload blobs (#1345) 2021-03-30 18:42:43 -05:00
BreachAccountResponse.cs audit service 2019-04-17 17:10:21 -04:00
CipherResponse.cs Password reprompt (#1365) 2021-05-21 15:13:54 +02:00
CollectionResponse.cs api models 2019-04-16 11:07:32 -04:00
DomainsResponse.cs api models 2019-04-16 11:07:32 -04:00
ErrorResponse.cs Fix iphone captcha throws (#1495) 2021-08-12 08:23:02 -05:00
FolderResponse.cs more models 2019-04-12 11:42:45 -04:00
GlobalDomainResponse.cs api models 2019-04-16 11:07:32 -04:00
IdentityCaptchaResponse.cs Feature/use hcaptcha if bot (#1476) 2021-08-04 14:47:23 -05:00
IdentityResponse.cs Feature/use hcaptcha if bot (#1476) 2021-08-04 14:47:23 -05:00
IdentityTokenResponse.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00
IdentityTwoFactorResponse.cs Feature/use hcaptcha if bot (#1476) 2021-08-04 14:47:23 -05:00
KeyConnectorUserKeyResponse.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00
NotificationResponse.cs push notification services 2019-05-28 12:01:55 -04:00
OrganizationAutoEnrollStatusResponse.cs [SSO/Auto Enroll] Fixed response object typo (#1542) 2021-09-16 23:01:12 -05:00
OrganizationKeysResponse.cs [SSO] Auto enroll during set password (#1520) 2021-09-08 12:43:24 -05:00
PasswordHistoryResponse.cs more models 2019-04-12 11:42:45 -04:00
PolicyResponse.cs Beginning of policy support (#736) 2020-02-21 10:23:38 -05:00
PreloginResponse.cs account apis 2019-04-10 15:35:23 -04:00
ProfileOrganizationResponse.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00
ProfileResponse.cs [KeyConnector] Add support for key connector OTP (#1633) 2021-11-10 20:46:48 -05:00
SendFileUploadDataResponse.cs Send azure upload (#1334) 2021-03-29 09:45:04 -05:00
SendResponse.cs Hide email address in Sends (#1340) 2021-03-29 12:01:42 -04:00
SyncResponse.cs Port send jslib to mobile (#1219) 2021-01-25 14:27:38 -06:00