KeytarWrapper

interface KeytarWrapper

Represents API to interact with secure storage.

Author

Valiantsin Krus

Since

2021-08-12

Functions

Link copied to clipboard
abstract fun deletePassword(service: String, account: String): Boolean

Removes credentials for account in service. If account in service is single than it removes a service.

Link copied to clipboard
abstract fun getCredentials(service: String): Map<String, String>

Extracts all credentials for service.

Link copied to clipboard
abstract fun getPassword(service: String, account: String): String

Returns a password by service name and account.

Link copied to clipboard
abstract fun setPassword(service: String, account: String, password: String)

Updates or creates password for account of service.

Inheritors

Link copied to clipboard