publicKeyCredentialCreationOptions.ts•1.71 kB
/**
* Generated by orval v7.2.0 🍺
* Do not edit manually.
* storyden
* Storyden social API for building community driven platforms.
The Storyden API does not adhere to semantic versioning but instead applies a rolling strategy with deprecations and minimal breaking changes. This has been done mainly for a simpler development process and it may be changed to a more fixed versioning strategy in the future. Ultimately, the primary way Storyden tracks versions is dates, there are no set release tags currently.
* OpenAPI spec version: v1.25.8-canary
*/
import type { AttestationConveyancePreference } from "./attestationConveyancePreference";
import type { AuthenticationExtensionsClientInputs } from "./authenticationExtensionsClientInputs";
import type { AuthenticatorSelectionCriteria } from "./authenticatorSelectionCriteria";
import type { PublicKeyCredentialDescriptor } from "./publicKeyCredentialDescriptor";
import type { PublicKeyCredentialParameters } from "./publicKeyCredentialParameters";
import type { PublicKeyCredentialRpEntity } from "./publicKeyCredentialRpEntity";
import type { PublicKeyCredentialUserEntity } from "./publicKeyCredentialUserEntity";
/**
* https://www.w3.org/TR/webautehn-2/#dictdef-publickeycredentialcreationoptions
*/
export interface PublicKeyCredentialCreationOptions {
attestation?: AttestationConveyancePreference;
authenticatorSelection?: AuthenticatorSelectionCriteria;
challenge: string;
excludeCredentials: PublicKeyCredentialDescriptor[];
extensions?: AuthenticationExtensionsClientInputs;
pubKeyCredParams: PublicKeyCredentialParameters[];
rp: PublicKeyCredentialRpEntity;
timeout?: number;
user: PublicKeyCredentialUserEntity;
}