CredentialsContainer
Available only in secure contexts.
interface CredentialsContainer {
create(options?: CredentialCreationOptions): Promise<Credential | null>;
get(options?: CredentialRequestOptions): Promise<Credential | null>;
preventSilentAccess(): Promise<void>;
store(credential: Credential): Promise<Credential>;
}var CredentialsContainer: {
prototype: CredentialsContainer;
new (): CredentialsContainer;
};§Methods
§
create(options?: CredentialCreationOptions): Promise<Credential | null>
[src]§
get(options?: CredentialRequestOptions): Promise<Credential | null>
[src]§
store(credential: Credential): Promise<Credential>
[src]