Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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: {};

§Methods

§
create(options?: CredentialCreationOptions): Promise<Credential | null>
[src]
§
get(options?: CredentialRequestOptions): Promise<Credential | null>
[src]
§
preventSilentAccess(): Promise<void>
[src]
§
store(credential: Credential): Promise<Credential>
[src]