CredentialStorage class
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Implementation of ICredentialStorage with KV Data source
CredentialStorage {ICredentialStorage}
Signature:
export declare class CredentialStorage implements ICredentialStorage
Implements: ICredentialStorage
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(_dataSource) | Creates an instance of CredentialStorage. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
storageKey |
| (not declared) | key for storage |
Methods
Method | Modifiers | Description |
---|---|---|
findCredentialById(id) | returns all credentials in the storage | |
findCredentialsByQuery(query) | returns all credentials in the storage | |
listCredentials() | returns all credentials in the storage | |
removeCredential(id) | returns all credentials in the storage | |
saveAllCredentials(credentials) | returns all credentials in the storage | |
saveCredential(credential) |