Accessing the Password Manager
Setting up and managing access to the Password Manager
Setting Up the Password Manager Client
import { RegistrationStatus } from '@sudoplatform/sudo-password-manager'
const status = await client.getRegistrationStatus()
switch (status) {
case RegistrationStatus.Unregistered:
// call client.register()
break
case RegistrationStatus.SecretCodeRequired:
// provide the secret code
// using client.unlock(password, secretCode)
break
case RegistrationStatus.Registered:
// the vault may be unlocked
// using client.unlock(password)
break
}var client: PasswordManagerClient!
client.getRegistrationStatus { (result) in
switch result {
case .success(let status):
switch status {
case .registered:
break
case .notRegistered:
break
case .missingSecretCode:
break
}
case .failure(let error):
break
}
}Registering to Use the Password Manager
Unlocking the Password Manager
Locking the Password Manager
Accessing the Secret Code
Generating the Rescue Kit PDF

Changing the Master Password
Deregistering from the Password Manager
Last updated