excludeCredentials
excludeCredentials is a field in the Web Authentication API used during a credential assertion request. It provides the relying party (RP) a list of credentials that should not be considered for authentication, helping to avoid re-prompts for credentials the user has already registered with the RP.
The field is an array of PublicKeyCredentialDescriptor objects. Each descriptor includes a type (typically "public-key"), an
During navigator.credentials.get with a PublicKeyCredentialRequestOptions, excludeCredentials restricts the set of credentials the authenticator may use. If
Usage scenarios include preventing re-use of certain credentials for a given login flow or guiding the user
See also: PublicKeyCredentialRequestOptions, allowCredentials, WebAuthn, CTAP.