get

suspend fun get(options: CredentialRequestOptions = definedExternally): Credential?(source)

The get() method of the CredentialsContainer interface returns a Promise that fulfills with a single credential, which can then be used to authenticate a user to a website.

MDN Reference