Interface CredentialsContainer
interface CredentialsContainer {
create(options?: CredentialCreationOptions): Promise<Credential>;
get(options?: CredentialRequestOptions): Promise<Credential>;
preventSilentAccess(): Promise<void>;
store(credential: Credential): Promise<void>;
}
create(options?: CredentialCreationOptions): Promise<Credential>;
get(options?: CredentialRequestOptions): Promise<Credential>;
preventSilentAccess(): Promise<void>;
store(credential: Credential): Promise<void>;
}
Index
Methods
Methods
create
- create(options?): Promise<Credential>
Parameters
Optional
options: CredentialCreationOptions
Returns Promise<Credential>
get
- get(options?): Promise<Credential>
Parameters
Optional
options: CredentialRequestOptions
Returns Promise<Credential>
preventSilentAccess
store
- store(credential): Promise<void>
Parameters
- credential: Credential
Returns Promise<void>
Available only in secure contexts.
MDN Reference