DefaultKeytarWrapper

Implements ability to access secure storage of operating system using library com.starxg.java-keytar. It uses the following storages depending on the operating system:

  1. For Windows - Credential Manager;

  2. For Mac OS - Keychain;

  3. For Linux - Secret Service API/libsecret.

Author

Valiantsin Krus

Since

2021-08-12

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
open override fun deletePassword(service: String, account: String): Boolean
Link copied to clipboard
open override fun getCredentials(service: String): Map<String, String>
Link copied to clipboard
open override fun getPassword(service: String, account: String): String
Link copied to clipboard
open override fun setPassword(service: String, account: String, password: String)