Interface CredentialsProvider
Methods
deletePassword
- deletePassword(service: string, account: string): Promise<boolean>
Parameters
service: string
account: string
Returns Promise<boolean>
findCredentials
- findCredentials(service: string): Promise<{ account: string; password: string }[]>
Parameters
Returns Promise<{ account: string; password: string }[]>
findPassword
- findPassword(service: string): Promise<undefined | string>
Parameters
Returns Promise<undefined | string>
getPassword
- getPassword(service: string, account: string): Promise<undefined | string>
Parameters
service: string
account: string
Returns Promise<undefined | string>
setPassword
- setPassword(service: string, account: string, password: string): Promise<void>
Parameters
service: string
account: string
password: string
Returns Promise<void>