@useauthio/react 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -427,6 +427,86 @@ interface RedirectToSignInProps {
427
427
  */
428
428
  declare function RedirectToSignIn({ returnTo, }: RedirectToSignInProps): React.ReactElement | null;
429
429
 
430
+ declare const AUTHIO_MESSAGES: {
431
+ readonly network_error: "We couldn't reach the sign-in service. Check your internet connection and try again.";
432
+ readonly timeout: "The sign-in service took too long to respond. Please try again.";
433
+ readonly aborted: "The request was cancelled before it finished. Please try again.";
434
+ readonly invalid_response: "We couldn't finish signing you in because the sign-in service sent an unexpected response. Please try again.";
435
+ readonly step_up_required: "For your security, we need one more check before signing you in.";
436
+ readonly sign_in_denied: "We couldn't sign you in. If you think this is a mistake, contact support or your administrator.";
437
+ readonly rate_limited: "Too many attempts. Please wait a moment and try again.";
438
+ readonly server_error: "Something went wrong on our side. Please try again in a moment.";
439
+ readonly request_failed: "We couldn't complete that request. Please try again.";
440
+ readonly webauthn_cancelled: "Passkey sign-in was cancelled or timed out. Please try again.";
441
+ readonly webauthn_registration_cancelled: "Passkey setup was cancelled or timed out. Please try again.";
442
+ readonly webauthn_already_registered: "This device already has a passkey for your account.";
443
+ readonly webauthn_unsupported: "This browser doesn't support passkeys. Try a different browser, or sign in another way.";
444
+ readonly not_signed_in: "You need to be signed in to do that. Please sign in and try again.";
445
+ readonly token_rejected: "We couldn't verify your sign-in. Please sign in again.";
446
+ };
447
+ /**
448
+ * Wrap a native fetch rejection (network error, abort, timeout) in
449
+ * an `AuthioError` so consumers always get a typed `code` to switch
450
+ * on and a readable `message`. Already-typed `AuthioError` instances
451
+ * pass through unchanged. The original error is kept on `cause`.
452
+ */
453
+ declare function wrapFetchError(err: unknown, fallbackCode?: string): AuthioError;
454
+ /**
455
+ * Thrown (code `step_up_required`) when auth-core's risk engine wants
456
+ * one more verification step before it will issue a session. No session
457
+ * exists yet. Send the user to `stepUpUrl` (the hosted step-up page) to
458
+ * finish signing in:
459
+ *
460
+ * ```ts
461
+ * catch (err) {
462
+ * if (err instanceof AuthioStepUpRequiredError && err.stepUpUrl) {
463
+ * window.location.assign(err.stepUpUrl);
464
+ * }
465
+ * }
466
+ * ```
467
+ *
468
+ * `stepUpUrl` is `undefined` on auth-core versions that predate the
469
+ * field or when no hosted UI is configured for the project.
470
+ */
471
+ declare class AuthioStepUpRequiredError extends AuthioError {
472
+ readonly stepUpUrl?: string;
473
+ readonly challengeId?: string;
474
+ readonly requiredMethod?: string;
475
+ readonly reasons: string[];
476
+ readonly enrollmentRequired: boolean;
477
+ /** auth-core's own explanation of the step, when it sent one. */
478
+ readonly serverMessage?: string;
479
+ constructor(opts: {
480
+ status: number;
481
+ stepUpUrl?: string;
482
+ challengeId?: string;
483
+ requiredMethod?: string;
484
+ reasons?: string[];
485
+ enrollmentRequired?: boolean;
486
+ serverMessage?: string;
487
+ requestId?: string;
488
+ });
489
+ }
490
+ /**
491
+ * Thrown (code `sign_in_denied`) when auth-core's risk engine or a
492
+ * project policy (country, network type, risk score) refuses the
493
+ * sign-in outright. `message` is auth-core's human-readable reason;
494
+ * `denyCode` is its stable machine code (e.g. `blocked_by_geo_policy`).
495
+ */
496
+ declare class AuthioSignInDeniedError extends AuthioError {
497
+ readonly denyCode?: string;
498
+ readonly reasons: string[];
499
+ constructor(opts: {
500
+ status: number;
501
+ message?: string;
502
+ denyCode?: string;
503
+ reasons?: string[];
504
+ requestId?: string;
505
+ });
506
+ }
507
+ /** True when `err` is a step-up-required error from any SDK helper. */
508
+ declare function isStepUpRequired(err: unknown): err is AuthioStepUpRequiredError;
509
+
430
510
  /**
431
511
  * Optional browser device signals for Authio risk / device fingerprinting.
432
512
  *
@@ -521,6 +601,8 @@ interface SignInWithMagicLinkOptions {
521
601
  * after the user clicks the link in their inbox.
522
602
  */
523
603
  redirectUri: string;
604
+ /** Opaque, consent-gated proof minted by @useauthio/xray. */
605
+ xrayVisitorProof?: string;
524
606
  signal?: AbortSignal;
525
607
  fetch?: typeof fetch;
526
608
  }
@@ -567,6 +649,8 @@ interface SignInWithPasskeyOptions {
567
649
  next?: string;
568
650
  /** Organization scope (`org_…`) for org-policy enforcement. */
569
651
  organizationId?: string;
652
+ /** Opaque, consent-gated proof minted by @useauthio/xray. */
653
+ xrayVisitorProof?: string;
570
654
  signal?: AbortSignal;
571
655
  fetch?: typeof fetch;
572
656
  }
@@ -595,7 +679,13 @@ interface SignInWithPasskeyResult {
595
679
  * - `webauthn_unsupported` if `navigator.credentials.get` is
596
680
  * missing (legacy browser).
597
681
  * - `webauthn_cancelled` if the user dismisses the chooser.
598
- * - Whatever auth-core returns on the options or verify call.
682
+ * - `step_up_required` (`AuthioStepUpRequiredError`) when the risk
683
+ * engine wants one more check. Redirect to `err.stepUpUrl`.
684
+ * - `sign_in_denied` (`AuthioSignInDeniedError`) when the risk engine
685
+ * or a project policy refuses the sign-in. `err.message` is
686
+ * auth-core's readable reason.
687
+ * - `invalid_response` if auth-core answered without a session.
688
+ * - Whatever else auth-core returns on the options or verify call.
599
689
  *
600
690
  * The returned `refreshToken` is included for completeness, but the
601
691
  * SDK never persists it — auth-core's `/v1/auth/passkey/login/verify`
@@ -619,6 +709,8 @@ interface SendEmailOtpOptions {
619
709
  next?: string;
620
710
  /** Organization scope (`org_…`) for org-policy enforcement. */
621
711
  organizationId?: string;
712
+ /** Opaque, consent-gated proof minted by @useauthio/xray. */
713
+ xrayVisitorProof?: string;
622
714
  signal?: AbortSignal;
623
715
  fetch?: typeof fetch;
624
716
  }
@@ -649,6 +741,8 @@ interface VerifyEmailOtpOptions {
649
741
  clientLocation?: ClientLocationCapture;
650
742
  /** Optional coarse device signals for risk / device recognition. */
651
743
  deviceSignals?: DeviceSignalsCapture;
744
+ /** Opaque, consent-gated proof minted by @useauthio/xray. */
745
+ xrayVisitorProof?: string;
652
746
  signal?: AbortSignal;
653
747
  fetch?: typeof fetch;
654
748
  }
@@ -669,8 +763,12 @@ interface VerifyEmailOtpResult {
669
763
  * Throws `AuthioError`:
670
764
  *
671
765
  * - `invalid_code` for a wrong/expired code (auth-core's code).
672
- * - `step_up_required` when the risk engine withholds the session
673
- * pending a second factor — finish the sign-in on the hosted UI.
766
+ * - `step_up_required` (`AuthioStepUpRequiredError`) when the risk
767
+ * engine withholds the session pending a second factor. Redirect to
768
+ * `err.stepUpUrl` to finish the sign-in on the hosted UI.
769
+ * - `sign_in_denied` (`AuthioSignInDeniedError`) when the sign-in is
770
+ * refused by risk or project policy.
771
+ * - `invalid_response` if auth-core answered without a session.
674
772
  * - Whatever else auth-core returns (rate-limit, policy, etc.).
675
773
  */
676
774
  declare function verifyEmailOtp(opts: VerifyEmailOtpOptions): Promise<VerifyEmailOtpResult>;
@@ -785,13 +883,6 @@ interface PasskeyManagerProps {
785
883
  */
786
884
  declare function PasskeyManager({ className, enrollReturnUrl, enrollNext, }: PasskeyManagerProps): React.ReactElement;
787
885
 
788
- /**
789
- * Wrap a native fetch rejection (network error, abort, timeout) in
790
- * an `AuthioError` so consumers always get a typed `code` to switch
791
- * on. Already-typed `AuthioError` instances pass through unchanged.
792
- */
793
- declare function wrapFetchError(err: unknown, fallbackCode?: string): AuthioError;
794
-
795
886
  type ActivityListener = (at: number) => void;
796
887
  /**
797
888
  * Tracks the last moment the user interacted with the page. Used by the
@@ -826,4 +917,4 @@ declare class ActivityTracker {
826
917
 
827
918
  type RefreshDeferReason = "hidden" | "idle";
828
919
 
829
- export { type ActivityListener, ActivityTracker, type AddPasskeyOptions, AuthioContext, type AuthioContextValue, type AuthioIdleRefreshMode, type AuthioPasskey, AuthioProvider, type AuthioProviderProps, type AuthioStatus, type AuthioStorageMode, type AuthioTelemetryEvent, type AuthioTokenVerification, type AuthioTokenVerifier, type AuthioUser, type CaptureClientLocationOptions, type ClientLocationCapture, DEVICE_SIGNALS_HEADER, type DeviceSignalsCapture, type EnrollPasskeyOptions, type LocateAction, type LocateVerifyResult, type PasskeyApiOptions, PasskeyManager, type PasskeyManagerProps, type RawSessionPolicy, RedirectToSignIn, type RedirectToSignInProps, type RefreshDeferReason, type SendEmailOtpOptions, type SessionPolicy, type SignInWithMagicLinkOptions, type SignInWithPasskeyOptions, type SignInWithPasskeyResult, SignedIn, type SignedInProps, SignedOut, type SignedOutProps, type UseAuthioRequiredOptions, type UseAuthioRequiredResult, type UsePasskeysResult, type VerifyEmailOtpOptions, type VerifyEmailOtpResult, type VerifyLocateOptions, addPasskey, buildEnrollPasskeyUrl, canEnrollPasskeyEmbedded, captureClientLocation, coerceSessionPolicy, collectDeviceSignals, deviceSignalsExtraHeaders, encodeDeviceSignalsHeader, enrollPasskey, listPasskeys, mintPasskeyRegisterIntent, renamePasskey, revokePasskey, sendEmailOtp, signInOrigin, signInWithMagicLink, signInWithPasskey, useAuthio, useAuthioRequired, usePasskeys, verifyEmailOtp, verifyLocate, wrapFetchError };
920
+ export { AUTHIO_MESSAGES, type ActivityListener, ActivityTracker, type AddPasskeyOptions, AuthioContext, type AuthioContextValue, type AuthioIdleRefreshMode, type AuthioPasskey, AuthioProvider, type AuthioProviderProps, AuthioSignInDeniedError, type AuthioStatus, AuthioStepUpRequiredError, type AuthioStorageMode, type AuthioTelemetryEvent, type AuthioTokenVerification, type AuthioTokenVerifier, type AuthioUser, type CaptureClientLocationOptions, type ClientLocationCapture, DEVICE_SIGNALS_HEADER, type DeviceSignalsCapture, type EnrollPasskeyOptions, type LocateAction, type LocateVerifyResult, type PasskeyApiOptions, PasskeyManager, type PasskeyManagerProps, type RawSessionPolicy, RedirectToSignIn, type RedirectToSignInProps, type RefreshDeferReason, type SendEmailOtpOptions, type SessionPolicy, type SignInWithMagicLinkOptions, type SignInWithPasskeyOptions, type SignInWithPasskeyResult, SignedIn, type SignedInProps, SignedOut, type SignedOutProps, type UseAuthioRequiredOptions, type UseAuthioRequiredResult, type UsePasskeysResult, type VerifyEmailOtpOptions, type VerifyEmailOtpResult, type VerifyLocateOptions, addPasskey, buildEnrollPasskeyUrl, canEnrollPasskeyEmbedded, captureClientLocation, coerceSessionPolicy, collectDeviceSignals, deviceSignalsExtraHeaders, encodeDeviceSignalsHeader, enrollPasskey, isStepUpRequired, listPasskeys, mintPasskeyRegisterIntent, renamePasskey, revokePasskey, sendEmailOtp, signInOrigin, signInWithMagicLink, signInWithPasskey, useAuthio, useAuthioRequired, usePasskeys, verifyEmailOtp, verifyLocate, wrapFetchError };
package/dist/index.d.ts CHANGED
@@ -427,6 +427,86 @@ interface RedirectToSignInProps {
427
427
  */
428
428
  declare function RedirectToSignIn({ returnTo, }: RedirectToSignInProps): React.ReactElement | null;
429
429
 
430
+ declare const AUTHIO_MESSAGES: {
431
+ readonly network_error: "We couldn't reach the sign-in service. Check your internet connection and try again.";
432
+ readonly timeout: "The sign-in service took too long to respond. Please try again.";
433
+ readonly aborted: "The request was cancelled before it finished. Please try again.";
434
+ readonly invalid_response: "We couldn't finish signing you in because the sign-in service sent an unexpected response. Please try again.";
435
+ readonly step_up_required: "For your security, we need one more check before signing you in.";
436
+ readonly sign_in_denied: "We couldn't sign you in. If you think this is a mistake, contact support or your administrator.";
437
+ readonly rate_limited: "Too many attempts. Please wait a moment and try again.";
438
+ readonly server_error: "Something went wrong on our side. Please try again in a moment.";
439
+ readonly request_failed: "We couldn't complete that request. Please try again.";
440
+ readonly webauthn_cancelled: "Passkey sign-in was cancelled or timed out. Please try again.";
441
+ readonly webauthn_registration_cancelled: "Passkey setup was cancelled or timed out. Please try again.";
442
+ readonly webauthn_already_registered: "This device already has a passkey for your account.";
443
+ readonly webauthn_unsupported: "This browser doesn't support passkeys. Try a different browser, or sign in another way.";
444
+ readonly not_signed_in: "You need to be signed in to do that. Please sign in and try again.";
445
+ readonly token_rejected: "We couldn't verify your sign-in. Please sign in again.";
446
+ };
447
+ /**
448
+ * Wrap a native fetch rejection (network error, abort, timeout) in
449
+ * an `AuthioError` so consumers always get a typed `code` to switch
450
+ * on and a readable `message`. Already-typed `AuthioError` instances
451
+ * pass through unchanged. The original error is kept on `cause`.
452
+ */
453
+ declare function wrapFetchError(err: unknown, fallbackCode?: string): AuthioError;
454
+ /**
455
+ * Thrown (code `step_up_required`) when auth-core's risk engine wants
456
+ * one more verification step before it will issue a session. No session
457
+ * exists yet. Send the user to `stepUpUrl` (the hosted step-up page) to
458
+ * finish signing in:
459
+ *
460
+ * ```ts
461
+ * catch (err) {
462
+ * if (err instanceof AuthioStepUpRequiredError && err.stepUpUrl) {
463
+ * window.location.assign(err.stepUpUrl);
464
+ * }
465
+ * }
466
+ * ```
467
+ *
468
+ * `stepUpUrl` is `undefined` on auth-core versions that predate the
469
+ * field or when no hosted UI is configured for the project.
470
+ */
471
+ declare class AuthioStepUpRequiredError extends AuthioError {
472
+ readonly stepUpUrl?: string;
473
+ readonly challengeId?: string;
474
+ readonly requiredMethod?: string;
475
+ readonly reasons: string[];
476
+ readonly enrollmentRequired: boolean;
477
+ /** auth-core's own explanation of the step, when it sent one. */
478
+ readonly serverMessage?: string;
479
+ constructor(opts: {
480
+ status: number;
481
+ stepUpUrl?: string;
482
+ challengeId?: string;
483
+ requiredMethod?: string;
484
+ reasons?: string[];
485
+ enrollmentRequired?: boolean;
486
+ serverMessage?: string;
487
+ requestId?: string;
488
+ });
489
+ }
490
+ /**
491
+ * Thrown (code `sign_in_denied`) when auth-core's risk engine or a
492
+ * project policy (country, network type, risk score) refuses the
493
+ * sign-in outright. `message` is auth-core's human-readable reason;
494
+ * `denyCode` is its stable machine code (e.g. `blocked_by_geo_policy`).
495
+ */
496
+ declare class AuthioSignInDeniedError extends AuthioError {
497
+ readonly denyCode?: string;
498
+ readonly reasons: string[];
499
+ constructor(opts: {
500
+ status: number;
501
+ message?: string;
502
+ denyCode?: string;
503
+ reasons?: string[];
504
+ requestId?: string;
505
+ });
506
+ }
507
+ /** True when `err` is a step-up-required error from any SDK helper. */
508
+ declare function isStepUpRequired(err: unknown): err is AuthioStepUpRequiredError;
509
+
430
510
  /**
431
511
  * Optional browser device signals for Authio risk / device fingerprinting.
432
512
  *
@@ -521,6 +601,8 @@ interface SignInWithMagicLinkOptions {
521
601
  * after the user clicks the link in their inbox.
522
602
  */
523
603
  redirectUri: string;
604
+ /** Opaque, consent-gated proof minted by @useauthio/xray. */
605
+ xrayVisitorProof?: string;
524
606
  signal?: AbortSignal;
525
607
  fetch?: typeof fetch;
526
608
  }
@@ -567,6 +649,8 @@ interface SignInWithPasskeyOptions {
567
649
  next?: string;
568
650
  /** Organization scope (`org_…`) for org-policy enforcement. */
569
651
  organizationId?: string;
652
+ /** Opaque, consent-gated proof minted by @useauthio/xray. */
653
+ xrayVisitorProof?: string;
570
654
  signal?: AbortSignal;
571
655
  fetch?: typeof fetch;
572
656
  }
@@ -595,7 +679,13 @@ interface SignInWithPasskeyResult {
595
679
  * - `webauthn_unsupported` if `navigator.credentials.get` is
596
680
  * missing (legacy browser).
597
681
  * - `webauthn_cancelled` if the user dismisses the chooser.
598
- * - Whatever auth-core returns on the options or verify call.
682
+ * - `step_up_required` (`AuthioStepUpRequiredError`) when the risk
683
+ * engine wants one more check. Redirect to `err.stepUpUrl`.
684
+ * - `sign_in_denied` (`AuthioSignInDeniedError`) when the risk engine
685
+ * or a project policy refuses the sign-in. `err.message` is
686
+ * auth-core's readable reason.
687
+ * - `invalid_response` if auth-core answered without a session.
688
+ * - Whatever else auth-core returns on the options or verify call.
599
689
  *
600
690
  * The returned `refreshToken` is included for completeness, but the
601
691
  * SDK never persists it — auth-core's `/v1/auth/passkey/login/verify`
@@ -619,6 +709,8 @@ interface SendEmailOtpOptions {
619
709
  next?: string;
620
710
  /** Organization scope (`org_…`) for org-policy enforcement. */
621
711
  organizationId?: string;
712
+ /** Opaque, consent-gated proof minted by @useauthio/xray. */
713
+ xrayVisitorProof?: string;
622
714
  signal?: AbortSignal;
623
715
  fetch?: typeof fetch;
624
716
  }
@@ -649,6 +741,8 @@ interface VerifyEmailOtpOptions {
649
741
  clientLocation?: ClientLocationCapture;
650
742
  /** Optional coarse device signals for risk / device recognition. */
651
743
  deviceSignals?: DeviceSignalsCapture;
744
+ /** Opaque, consent-gated proof minted by @useauthio/xray. */
745
+ xrayVisitorProof?: string;
652
746
  signal?: AbortSignal;
653
747
  fetch?: typeof fetch;
654
748
  }
@@ -669,8 +763,12 @@ interface VerifyEmailOtpResult {
669
763
  * Throws `AuthioError`:
670
764
  *
671
765
  * - `invalid_code` for a wrong/expired code (auth-core's code).
672
- * - `step_up_required` when the risk engine withholds the session
673
- * pending a second factor — finish the sign-in on the hosted UI.
766
+ * - `step_up_required` (`AuthioStepUpRequiredError`) when the risk
767
+ * engine withholds the session pending a second factor. Redirect to
768
+ * `err.stepUpUrl` to finish the sign-in on the hosted UI.
769
+ * - `sign_in_denied` (`AuthioSignInDeniedError`) when the sign-in is
770
+ * refused by risk or project policy.
771
+ * - `invalid_response` if auth-core answered without a session.
674
772
  * - Whatever else auth-core returns (rate-limit, policy, etc.).
675
773
  */
676
774
  declare function verifyEmailOtp(opts: VerifyEmailOtpOptions): Promise<VerifyEmailOtpResult>;
@@ -785,13 +883,6 @@ interface PasskeyManagerProps {
785
883
  */
786
884
  declare function PasskeyManager({ className, enrollReturnUrl, enrollNext, }: PasskeyManagerProps): React.ReactElement;
787
885
 
788
- /**
789
- * Wrap a native fetch rejection (network error, abort, timeout) in
790
- * an `AuthioError` so consumers always get a typed `code` to switch
791
- * on. Already-typed `AuthioError` instances pass through unchanged.
792
- */
793
- declare function wrapFetchError(err: unknown, fallbackCode?: string): AuthioError;
794
-
795
886
  type ActivityListener = (at: number) => void;
796
887
  /**
797
888
  * Tracks the last moment the user interacted with the page. Used by the
@@ -826,4 +917,4 @@ declare class ActivityTracker {
826
917
 
827
918
  type RefreshDeferReason = "hidden" | "idle";
828
919
 
829
- export { type ActivityListener, ActivityTracker, type AddPasskeyOptions, AuthioContext, type AuthioContextValue, type AuthioIdleRefreshMode, type AuthioPasskey, AuthioProvider, type AuthioProviderProps, type AuthioStatus, type AuthioStorageMode, type AuthioTelemetryEvent, type AuthioTokenVerification, type AuthioTokenVerifier, type AuthioUser, type CaptureClientLocationOptions, type ClientLocationCapture, DEVICE_SIGNALS_HEADER, type DeviceSignalsCapture, type EnrollPasskeyOptions, type LocateAction, type LocateVerifyResult, type PasskeyApiOptions, PasskeyManager, type PasskeyManagerProps, type RawSessionPolicy, RedirectToSignIn, type RedirectToSignInProps, type RefreshDeferReason, type SendEmailOtpOptions, type SessionPolicy, type SignInWithMagicLinkOptions, type SignInWithPasskeyOptions, type SignInWithPasskeyResult, SignedIn, type SignedInProps, SignedOut, type SignedOutProps, type UseAuthioRequiredOptions, type UseAuthioRequiredResult, type UsePasskeysResult, type VerifyEmailOtpOptions, type VerifyEmailOtpResult, type VerifyLocateOptions, addPasskey, buildEnrollPasskeyUrl, canEnrollPasskeyEmbedded, captureClientLocation, coerceSessionPolicy, collectDeviceSignals, deviceSignalsExtraHeaders, encodeDeviceSignalsHeader, enrollPasskey, listPasskeys, mintPasskeyRegisterIntent, renamePasskey, revokePasskey, sendEmailOtp, signInOrigin, signInWithMagicLink, signInWithPasskey, useAuthio, useAuthioRequired, usePasskeys, verifyEmailOtp, verifyLocate, wrapFetchError };
920
+ export { AUTHIO_MESSAGES, type ActivityListener, ActivityTracker, type AddPasskeyOptions, AuthioContext, type AuthioContextValue, type AuthioIdleRefreshMode, type AuthioPasskey, AuthioProvider, type AuthioProviderProps, AuthioSignInDeniedError, type AuthioStatus, AuthioStepUpRequiredError, type AuthioStorageMode, type AuthioTelemetryEvent, type AuthioTokenVerification, type AuthioTokenVerifier, type AuthioUser, type CaptureClientLocationOptions, type ClientLocationCapture, DEVICE_SIGNALS_HEADER, type DeviceSignalsCapture, type EnrollPasskeyOptions, type LocateAction, type LocateVerifyResult, type PasskeyApiOptions, PasskeyManager, type PasskeyManagerProps, type RawSessionPolicy, RedirectToSignIn, type RedirectToSignInProps, type RefreshDeferReason, type SendEmailOtpOptions, type SessionPolicy, type SignInWithMagicLinkOptions, type SignInWithPasskeyOptions, type SignInWithPasskeyResult, SignedIn, type SignedInProps, SignedOut, type SignedOutProps, type UseAuthioRequiredOptions, type UseAuthioRequiredResult, type UsePasskeysResult, type VerifyEmailOtpOptions, type VerifyEmailOtpResult, type VerifyLocateOptions, addPasskey, buildEnrollPasskeyUrl, canEnrollPasskeyEmbedded, captureClientLocation, coerceSessionPolicy, collectDeviceSignals, deviceSignalsExtraHeaders, encodeDeviceSignalsHeader, enrollPasskey, isStepUpRequired, listPasskeys, mintPasskeyRegisterIntent, renamePasskey, revokePasskey, sendEmailOtp, signInOrigin, signInWithMagicLink, signInWithPasskey, useAuthio, useAuthioRequired, usePasskeys, verifyEmailOtp, verifyLocate, wrapFetchError };