save

abstract fun save(credential: PasswordCredential)(source)

Saves credential, replacing any password already saved for its server and username.

Throws

if the backend is unavailable or the save fails.

if the server, username, or password breaks the rules described on PasswordStore.