PasswordManagerRegistrationStatuswill be returned. Inspect this value to determine what to do next to finish the setup of the Password Manager.
registered, the next step is unlocking the Password Manager before accessing items.
notRegistered, register the user by calling the
registerfunction, passing in the user's master password.
missingSecretCode, the user has already registered on another device. The Password Manager requires the user's master password and secret code. The user can find their secret code on their rescue kit PDF which was downloaded during onboarding.
registerfunction, passing in the user's master password. If successful, the client will be registered and the Password Manager will be unlocked and ready to create new vaults.
unlockfunction, passing in the user's master password. This function also accepts the user's secret code, which is only required if the registration status returned by
isLockedmethod to synchronously determine if the Password Manager is locked. If
isLockedreturns false, then the next call to a function that accesses the Password Manager will not fail due to it being locked.
lockmethod to lock the Password Manager. Use this method in response to user action or after a period of user inactivity.
unlockfunction. If the secret code is already stored on the user's device, you do not need to provide it in subsequent calls to the
showSecretCodefunction. You should take steps to ensure that the user does not lose their secret code. If they do, they will be unable to unlock their Password Manager vaults.
resetfunction. Note that if the user has not backed up their secret code, they will be unable to subsequently log into the Password Manager and their vaults will be inaccessible.