UNPKG

@bitblit/ratchet-warden-common

Version:

Typescript library to simplify using simplewebauthn and secondary auth methods over GraphQL

21 lines (20 loc) 1.01 kB
import { WebAuthnObjectWrapper } from './web-authn-object-wrapper.js'; import { WardenLoginResults } from '../model/warden-login-results.js'; import { WardenEntrySummary } from '../model/warden-entry-summary.js'; export interface WardenCommandResponse { createAccount?: string; sendMagicLink?: boolean; generateWebAuthnAuthenticationChallengeForUserId?: WebAuthnObjectWrapper; generateWebAuthnRegistrationChallengeForLoggedInUser?: WebAuthnObjectWrapper; removeWebAuthnRegistration?: WardenEntrySummary; sendExpiringValidationToken?: boolean; addWebAuthnRegistrationToLoggedInUser?: WardenEntrySummary; addContactToLoggedInUser?: boolean; performLogin?: WardenLoginResults; refreshJwtToken?: string; removeWebAuthnRegistrationFromLoggedInUser?: WardenEntrySummary; removeContactFromLoggedInUser?: WardenEntrySummary; exportWebAuthnRegistrationEntryForLoggedInUser?: string; importWebAuthnRegistrationEntryForLoggedInUser?: boolean; error?: string; }