credentialsGet( options?: CredentialRequestOptionsJSON,): Promise< { authenticatorAttachment: null | AuthenticatorAttachment; authenticatorData: { aaguid: undefined | Uint8Array<ArrayBufferLike>; credentialID: undefined | Uint8Array<ArrayBufferLike>; credentialPublicKey: undefined | COSEPublicKey; credentialPublicKeyBytes: undefined | Uint8Array<ArrayBufferLike>; extensionsData: any; extensionsDataBytes: undefined | Uint8Array<ArrayBuffer>; flags: { at: boolean; be: boolean; bs: boolean; ed: boolean; flagsInt: number; up: boolean; uv: boolean; }; flagsBytes: Uint8Array<ArrayBuffer>; rpIdHash: Uint8Array<ArrayBuffer>; signCount: number; signCountBytes: Uint8Array<ArrayBuffer>; }; authenticatorDataBytes: Uint8Array<ArrayBuffer>; clientData: CollectedClientData; clientDataBytes: Uint8Array<ArrayBuffer>; clientExtensionResults: AuthenticationExtensionsClientOutputs; id: string; signature: Uint8Array<ArrayBuffer>; type: "public-key"; userHandle: undefined | string; },> Returns Promise<
{
authenticatorAttachment: null
| AuthenticatorAttachment;
authenticatorData: {
aaguid: undefined | Uint8Array<ArrayBufferLike>;
credentialID: undefined | Uint8Array<ArrayBufferLike>;
credentialPublicKey: undefined | COSEPublicKey;
credentialPublicKeyBytes: undefined | Uint8Array<ArrayBufferLike>;
extensionsData: any;
extensionsDataBytes: undefined | Uint8Array<ArrayBuffer>;
flags: {
at: boolean;
be: boolean;
bs: boolean;
ed: boolean;
flagsInt: number;
up: boolean;
uv: boolean;
};
flagsBytes: Uint8Array<ArrayBuffer>;
rpIdHash: Uint8Array<ArrayBuffer>;
signCount: number;
signCountBytes: Uint8Array<ArrayBuffer>;
};
authenticatorDataBytes: Uint8Array<ArrayBuffer>;
clientData: CollectedClientData;
clientDataBytes: Uint8Array<ArrayBuffer>;
clientExtensionResults: AuthenticationExtensionsClientOutputs;
id: string;
signature: Uint8Array<ArrayBuffer>;
type: "public-key";
userHandle: undefined | string;
},
>
Requests a PublicKeyCredential