store method

JSPromise<JSAny?> store(
  1. Credential credential
)

The store() method of the CredentialsContainer stores a set of credentials for the user inside a Credential instance, returning this in a Promise.

Note: This method is restricted to top-level contexts. Calls to it within an <iframe> element will resolve without effect.

Implementation

external JSPromise<JSAny?> store(Credential credential);