Credentials
The nova.credentials
global object is used to manipulate secure credentials (passwords, tokens, etc.).
Methods
getPassword(service, user)
Retrieves a password for a given service and user, returning a String
, or null
if no password was found. Will raise an Error
if communication with the Keychain API fails.
setPassword(service, user, password)
Sets a password for a given service and user. The password must be a String
value. Will raise an Error
if communication with the Keychain API fails.
removePassword(service, user)
Removes a password for a given service and user. Will raise an Error
if communication with the Keychain API fails.