Github
  • Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • iso-passkeys
  • credentialsCreate

Function credentialsCreate

  • credentialsCreate(
        options: CredentialCreationOptionsJSON,
    ): Promise<
        {
            attestationObject: AttestationObject;
            authenticatorAttachment: null
            | AuthenticatorAttachment;
            clientData: CollectedClientData;
            clientExtensionResults: AuthenticationExtensionsClientOutputs;
            id: string;
            transports: AuthenticatorTransport[];
            type: "public-key";
        },
    >

    Creates a PublicKeyCredential

    Parameters

    • options: CredentialCreationOptionsJSON

    Returns Promise<
        {
            attestationObject: AttestationObject;
            authenticatorAttachment: null
            | AuthenticatorAttachment;
            clientData: CollectedClientData;
            clientExtensionResults: AuthenticationExtensionsClientOutputs;
            id: string;
            transports: AuthenticatorTransport[];
            type: "public-key";
        },
    >

    See

    https://w3c.github.io/webappsec-credential-management/#algorithm-create

    • Defined in index.js:72

Settings

Member Visibility
Github
Documentation
  • Loading...

Generated using TypeDoc