bwh-auth 0.2.0
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/LICENSE +21 -0
- package/README.md +216 -0
- package/dist/index.cjs +852 -0
- package/dist/index.d.cts +166 -0
- package/dist/index.d.ts +166 -0
- package/dist/index.js +800 -0
- package/package.json +40 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface AuthEndpointConfig {
|
|
5
|
+
csrfToken?: string;
|
|
6
|
+
login?: string;
|
|
7
|
+
signup?: string;
|
|
8
|
+
forgotPassword?: string;
|
|
9
|
+
resetPassword?: string;
|
|
10
|
+
changePassword?: string;
|
|
11
|
+
twoFactorVerify?: string;
|
|
12
|
+
twoFactorResend?: string;
|
|
13
|
+
twoFactorReport?: (token: string) => string;
|
|
14
|
+
passkeyList?: string;
|
|
15
|
+
passkeyRegisterOptions?: string;
|
|
16
|
+
passkeyRegister?: string;
|
|
17
|
+
passkeyDelete?: (id: number | string) => string;
|
|
18
|
+
passkeyAuthOptions?: string;
|
|
19
|
+
passkeyAuth?: string;
|
|
20
|
+
}
|
|
21
|
+
type AuthValidationErrors = Record<string, string[]>;
|
|
22
|
+
type AuthSignupValues = Record<string, string | boolean>;
|
|
23
|
+
interface AuthSignupField {
|
|
24
|
+
name: string;
|
|
25
|
+
label: React.ReactNode;
|
|
26
|
+
type?: React.HTMLInputTypeAttribute;
|
|
27
|
+
placeholder?: string;
|
|
28
|
+
required?: boolean;
|
|
29
|
+
autoComplete?: string;
|
|
30
|
+
initialValue?: string | boolean;
|
|
31
|
+
minLength?: number;
|
|
32
|
+
maxLength?: number;
|
|
33
|
+
pattern?: string;
|
|
34
|
+
inputMode?: React.HTMLAttributes<HTMLInputElement>['inputMode'];
|
|
35
|
+
helpText?: React.ReactNode;
|
|
36
|
+
className?: string;
|
|
37
|
+
containerClassName?: string;
|
|
38
|
+
hiddenWhen?: (values: AuthSignupValues) => boolean;
|
|
39
|
+
}
|
|
40
|
+
interface Passkey {
|
|
41
|
+
id: number;
|
|
42
|
+
name: string;
|
|
43
|
+
aaguid: string | null;
|
|
44
|
+
created_at: string;
|
|
45
|
+
updated_at: string;
|
|
46
|
+
}
|
|
47
|
+
interface AuthJsonResponse {
|
|
48
|
+
success?: boolean;
|
|
49
|
+
message?: string;
|
|
50
|
+
error?: string;
|
|
51
|
+
redirect?: string;
|
|
52
|
+
requires_2fa?: boolean;
|
|
53
|
+
attempt_token?: string;
|
|
54
|
+
[key: string]: unknown;
|
|
55
|
+
}
|
|
56
|
+
type AuthButtonVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
|
|
57
|
+
type AuthButtonSize = 'default' | 'sm' | 'lg' | 'icon' | 'icon-sm' | 'icon-lg';
|
|
58
|
+
type AuthButtonComponentProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
59
|
+
variant?: AuthButtonVariant;
|
|
60
|
+
size?: AuthButtonSize;
|
|
61
|
+
};
|
|
62
|
+
type AuthInputComponentProps = React.InputHTMLAttributes<HTMLInputElement>;
|
|
63
|
+
type AuthLabelComponentProps = React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
64
|
+
type AuthContainerComponentProps = React.HTMLAttributes<HTMLDivElement>;
|
|
65
|
+
interface AuthComponentSet {
|
|
66
|
+
Button: React.ComponentType<AuthButtonComponentProps>;
|
|
67
|
+
Card: React.ComponentType<AuthContainerComponentProps>;
|
|
68
|
+
CardContent: React.ComponentType<AuthContainerComponentProps>;
|
|
69
|
+
CardDescription: React.ComponentType<AuthContainerComponentProps>;
|
|
70
|
+
CardHeader: React.ComponentType<AuthContainerComponentProps>;
|
|
71
|
+
CardTitle: React.ComponentType<AuthContainerComponentProps>;
|
|
72
|
+
Input: React.ComponentType<AuthInputComponentProps>;
|
|
73
|
+
Label: React.ComponentType<AuthLabelComponentProps>;
|
|
74
|
+
}
|
|
75
|
+
type AuthComponents = AuthComponentSet;
|
|
76
|
+
type AuthComponentOverrides = Partial<AuthComponentSet>;
|
|
77
|
+
type AuthButtonComponent = AuthComponentSet['Button'];
|
|
78
|
+
type AuthComponentSuperset = AuthComponentSet & Record<string, React.ComponentType<any>>;
|
|
79
|
+
type AuthComponentInput = AuthComponentSet | AuthComponentSuperset;
|
|
80
|
+
type AuthButtonComponentInput = Pick<AuthComponentSet, 'Button'> & Record<string, React.ComponentType<any>>;
|
|
81
|
+
|
|
82
|
+
interface AuthFormProps {
|
|
83
|
+
endpoints?: AuthEndpointConfig;
|
|
84
|
+
components: AuthComponentInput;
|
|
85
|
+
onSuccess?: (result: AuthJsonResponse) => void;
|
|
86
|
+
onError?: (message: string) => void;
|
|
87
|
+
}
|
|
88
|
+
interface LoginFormProps extends AuthFormProps {
|
|
89
|
+
enablePasskeys?: boolean;
|
|
90
|
+
enablePasskeyAutofill?: boolean;
|
|
91
|
+
onTwoFactorRequired?: (result: AuthJsonResponse & {
|
|
92
|
+
attempt_token?: string;
|
|
93
|
+
}) => void;
|
|
94
|
+
onPasskeySuccess?: (redirectUrl: string, result: AuthJsonResponse) => void;
|
|
95
|
+
}
|
|
96
|
+
interface SignupFormProps extends Omit<AuthFormProps, 'onSuccess'> {
|
|
97
|
+
fields?: AuthSignupField[];
|
|
98
|
+
initialValues?: AuthSignupValues;
|
|
99
|
+
errors?: AuthValidationErrors;
|
|
100
|
+
submitMode?: 'fetch' | 'native';
|
|
101
|
+
title?: React.ReactNode;
|
|
102
|
+
description?: React.ReactNode;
|
|
103
|
+
submitLabel?: React.ReactNode;
|
|
104
|
+
submittingLabel?: React.ReactNode;
|
|
105
|
+
onSuccess?: (result: AuthJsonResponse, values: AuthSignupValues) => void | Promise<void>;
|
|
106
|
+
}
|
|
107
|
+
interface ResetPasswordFormProps extends AuthFormProps {
|
|
108
|
+
token?: string;
|
|
109
|
+
email?: string;
|
|
110
|
+
}
|
|
111
|
+
interface TwoFactorFormProps extends AuthFormProps {
|
|
112
|
+
attemptToken: string;
|
|
113
|
+
appEnv?: string;
|
|
114
|
+
onReportSuspicious?: (result: AuthJsonResponse) => void;
|
|
115
|
+
}
|
|
116
|
+
declare function LoginForm({ endpoints, components, onSuccess, onError, onTwoFactorRequired, onPasskeySuccess, enablePasskeys, enablePasskeyAutofill, }: LoginFormProps): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function SignupForm({ endpoints, components, onSuccess, onError, fields, initialValues, errors, submitMode, title, description, submitLabel, submittingLabel, }: SignupFormProps): react_jsx_runtime.JSX.Element;
|
|
118
|
+
declare function PasswordResetRequestForm({ endpoints, components, onSuccess, onError }: AuthFormProps): react_jsx_runtime.JSX.Element;
|
|
119
|
+
declare function ResetPasswordForm({ endpoints, components, onSuccess, onError, token: initialToken, email: initialEmail }: ResetPasswordFormProps): react_jsx_runtime.JSX.Element;
|
|
120
|
+
declare function ChangePasswordForm({ endpoints, components, onSuccess, onError }: AuthFormProps): react_jsx_runtime.JSX.Element;
|
|
121
|
+
declare function TwoFactorForm({ endpoints, components, attemptToken, appEnv, onSuccess, onError, onReportSuspicious }: TwoFactorFormProps): react_jsx_runtime.JSX.Element;
|
|
122
|
+
|
|
123
|
+
interface PasskeyLoginButtonProps {
|
|
124
|
+
endpoints?: AuthEndpointConfig;
|
|
125
|
+
components: AuthButtonComponentInput;
|
|
126
|
+
className?: string;
|
|
127
|
+
onSuccess?: (redirectUrl: string, result: AuthJsonResponse) => void;
|
|
128
|
+
onError?: (message: string) => void;
|
|
129
|
+
}
|
|
130
|
+
declare function PasskeyLoginButton({ endpoints, components, className, onSuccess, onError }: PasskeyLoginButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
131
|
+
|
|
132
|
+
interface PasskeySectionProps {
|
|
133
|
+
endpoints?: AuthEndpointConfig;
|
|
134
|
+
components: AuthComponentInput;
|
|
135
|
+
onSuccess?: (message: string) => void;
|
|
136
|
+
onError?: (field: string, message: string) => void;
|
|
137
|
+
}
|
|
138
|
+
declare function PasskeySection({ endpoints, components, onSuccess, onError }: PasskeySectionProps): react_jsx_runtime.JSX.Element;
|
|
139
|
+
|
|
140
|
+
declare function getCsrfToken(explicitToken?: string): string;
|
|
141
|
+
declare function base64urlToArrayBuffer(b64: string): ArrayBuffer;
|
|
142
|
+
declare function arrayBufferToBase64url(buffer: ArrayBuffer): string;
|
|
143
|
+
declare function isAbortError(error: unknown): boolean;
|
|
144
|
+
interface AuthenticateWithPasskeyOptions {
|
|
145
|
+
endpoints?: AuthEndpointConfig;
|
|
146
|
+
mediation?: CredentialMediationRequirement;
|
|
147
|
+
signal?: AbortSignal;
|
|
148
|
+
}
|
|
149
|
+
interface PasskeyAuthenticationResult {
|
|
150
|
+
redirectUrl: string;
|
|
151
|
+
result: AuthJsonResponse;
|
|
152
|
+
}
|
|
153
|
+
interface RegisterPasskeyOptions {
|
|
154
|
+
endpoints?: AuthEndpointConfig;
|
|
155
|
+
name?: string;
|
|
156
|
+
signal?: AbortSignal;
|
|
157
|
+
}
|
|
158
|
+
interface PasskeyRegistrationResult {
|
|
159
|
+
result: AuthJsonResponse;
|
|
160
|
+
}
|
|
161
|
+
declare function getDefaultPasskeyName(): string;
|
|
162
|
+
declare function isConditionalMediationAvailable(): Promise<boolean>;
|
|
163
|
+
declare function authenticateWithPasskey({ endpoints, mediation, signal }?: AuthenticateWithPasskeyOptions): Promise<PasskeyAuthenticationResult>;
|
|
164
|
+
declare function registerPasskey({ endpoints, name, signal }?: RegisterPasskeyOptions): Promise<PasskeyRegistrationResult>;
|
|
165
|
+
|
|
166
|
+
export { type AuthButtonComponent, type AuthButtonComponentInput, type AuthButtonComponentProps, type AuthButtonSize, type AuthButtonVariant, type AuthComponentInput, type AuthComponentOverrides, type AuthComponentSet, type AuthComponentSuperset, type AuthComponents, type AuthContainerComponentProps, type AuthEndpointConfig, type AuthInputComponentProps, type AuthJsonResponse, type AuthLabelComponentProps, type AuthSignupField, type AuthSignupValues, type AuthValidationErrors, ChangePasswordForm, LoginForm, type Passkey, PasskeyLoginButton, PasskeySection, PasswordResetRequestForm, ResetPasswordForm, SignupForm, TwoFactorForm, arrayBufferToBase64url, authenticateWithPasskey, base64urlToArrayBuffer, getCsrfToken, getDefaultPasskeyName, isAbortError, isConditionalMediationAvailable, registerPasskey };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface AuthEndpointConfig {
|
|
5
|
+
csrfToken?: string;
|
|
6
|
+
login?: string;
|
|
7
|
+
signup?: string;
|
|
8
|
+
forgotPassword?: string;
|
|
9
|
+
resetPassword?: string;
|
|
10
|
+
changePassword?: string;
|
|
11
|
+
twoFactorVerify?: string;
|
|
12
|
+
twoFactorResend?: string;
|
|
13
|
+
twoFactorReport?: (token: string) => string;
|
|
14
|
+
passkeyList?: string;
|
|
15
|
+
passkeyRegisterOptions?: string;
|
|
16
|
+
passkeyRegister?: string;
|
|
17
|
+
passkeyDelete?: (id: number | string) => string;
|
|
18
|
+
passkeyAuthOptions?: string;
|
|
19
|
+
passkeyAuth?: string;
|
|
20
|
+
}
|
|
21
|
+
type AuthValidationErrors = Record<string, string[]>;
|
|
22
|
+
type AuthSignupValues = Record<string, string | boolean>;
|
|
23
|
+
interface AuthSignupField {
|
|
24
|
+
name: string;
|
|
25
|
+
label: React.ReactNode;
|
|
26
|
+
type?: React.HTMLInputTypeAttribute;
|
|
27
|
+
placeholder?: string;
|
|
28
|
+
required?: boolean;
|
|
29
|
+
autoComplete?: string;
|
|
30
|
+
initialValue?: string | boolean;
|
|
31
|
+
minLength?: number;
|
|
32
|
+
maxLength?: number;
|
|
33
|
+
pattern?: string;
|
|
34
|
+
inputMode?: React.HTMLAttributes<HTMLInputElement>['inputMode'];
|
|
35
|
+
helpText?: React.ReactNode;
|
|
36
|
+
className?: string;
|
|
37
|
+
containerClassName?: string;
|
|
38
|
+
hiddenWhen?: (values: AuthSignupValues) => boolean;
|
|
39
|
+
}
|
|
40
|
+
interface Passkey {
|
|
41
|
+
id: number;
|
|
42
|
+
name: string;
|
|
43
|
+
aaguid: string | null;
|
|
44
|
+
created_at: string;
|
|
45
|
+
updated_at: string;
|
|
46
|
+
}
|
|
47
|
+
interface AuthJsonResponse {
|
|
48
|
+
success?: boolean;
|
|
49
|
+
message?: string;
|
|
50
|
+
error?: string;
|
|
51
|
+
redirect?: string;
|
|
52
|
+
requires_2fa?: boolean;
|
|
53
|
+
attempt_token?: string;
|
|
54
|
+
[key: string]: unknown;
|
|
55
|
+
}
|
|
56
|
+
type AuthButtonVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
|
|
57
|
+
type AuthButtonSize = 'default' | 'sm' | 'lg' | 'icon' | 'icon-sm' | 'icon-lg';
|
|
58
|
+
type AuthButtonComponentProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
59
|
+
variant?: AuthButtonVariant;
|
|
60
|
+
size?: AuthButtonSize;
|
|
61
|
+
};
|
|
62
|
+
type AuthInputComponentProps = React.InputHTMLAttributes<HTMLInputElement>;
|
|
63
|
+
type AuthLabelComponentProps = React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
64
|
+
type AuthContainerComponentProps = React.HTMLAttributes<HTMLDivElement>;
|
|
65
|
+
interface AuthComponentSet {
|
|
66
|
+
Button: React.ComponentType<AuthButtonComponentProps>;
|
|
67
|
+
Card: React.ComponentType<AuthContainerComponentProps>;
|
|
68
|
+
CardContent: React.ComponentType<AuthContainerComponentProps>;
|
|
69
|
+
CardDescription: React.ComponentType<AuthContainerComponentProps>;
|
|
70
|
+
CardHeader: React.ComponentType<AuthContainerComponentProps>;
|
|
71
|
+
CardTitle: React.ComponentType<AuthContainerComponentProps>;
|
|
72
|
+
Input: React.ComponentType<AuthInputComponentProps>;
|
|
73
|
+
Label: React.ComponentType<AuthLabelComponentProps>;
|
|
74
|
+
}
|
|
75
|
+
type AuthComponents = AuthComponentSet;
|
|
76
|
+
type AuthComponentOverrides = Partial<AuthComponentSet>;
|
|
77
|
+
type AuthButtonComponent = AuthComponentSet['Button'];
|
|
78
|
+
type AuthComponentSuperset = AuthComponentSet & Record<string, React.ComponentType<any>>;
|
|
79
|
+
type AuthComponentInput = AuthComponentSet | AuthComponentSuperset;
|
|
80
|
+
type AuthButtonComponentInput = Pick<AuthComponentSet, 'Button'> & Record<string, React.ComponentType<any>>;
|
|
81
|
+
|
|
82
|
+
interface AuthFormProps {
|
|
83
|
+
endpoints?: AuthEndpointConfig;
|
|
84
|
+
components: AuthComponentInput;
|
|
85
|
+
onSuccess?: (result: AuthJsonResponse) => void;
|
|
86
|
+
onError?: (message: string) => void;
|
|
87
|
+
}
|
|
88
|
+
interface LoginFormProps extends AuthFormProps {
|
|
89
|
+
enablePasskeys?: boolean;
|
|
90
|
+
enablePasskeyAutofill?: boolean;
|
|
91
|
+
onTwoFactorRequired?: (result: AuthJsonResponse & {
|
|
92
|
+
attempt_token?: string;
|
|
93
|
+
}) => void;
|
|
94
|
+
onPasskeySuccess?: (redirectUrl: string, result: AuthJsonResponse) => void;
|
|
95
|
+
}
|
|
96
|
+
interface SignupFormProps extends Omit<AuthFormProps, 'onSuccess'> {
|
|
97
|
+
fields?: AuthSignupField[];
|
|
98
|
+
initialValues?: AuthSignupValues;
|
|
99
|
+
errors?: AuthValidationErrors;
|
|
100
|
+
submitMode?: 'fetch' | 'native';
|
|
101
|
+
title?: React.ReactNode;
|
|
102
|
+
description?: React.ReactNode;
|
|
103
|
+
submitLabel?: React.ReactNode;
|
|
104
|
+
submittingLabel?: React.ReactNode;
|
|
105
|
+
onSuccess?: (result: AuthJsonResponse, values: AuthSignupValues) => void | Promise<void>;
|
|
106
|
+
}
|
|
107
|
+
interface ResetPasswordFormProps extends AuthFormProps {
|
|
108
|
+
token?: string;
|
|
109
|
+
email?: string;
|
|
110
|
+
}
|
|
111
|
+
interface TwoFactorFormProps extends AuthFormProps {
|
|
112
|
+
attemptToken: string;
|
|
113
|
+
appEnv?: string;
|
|
114
|
+
onReportSuspicious?: (result: AuthJsonResponse) => void;
|
|
115
|
+
}
|
|
116
|
+
declare function LoginForm({ endpoints, components, onSuccess, onError, onTwoFactorRequired, onPasskeySuccess, enablePasskeys, enablePasskeyAutofill, }: LoginFormProps): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function SignupForm({ endpoints, components, onSuccess, onError, fields, initialValues, errors, submitMode, title, description, submitLabel, submittingLabel, }: SignupFormProps): react_jsx_runtime.JSX.Element;
|
|
118
|
+
declare function PasswordResetRequestForm({ endpoints, components, onSuccess, onError }: AuthFormProps): react_jsx_runtime.JSX.Element;
|
|
119
|
+
declare function ResetPasswordForm({ endpoints, components, onSuccess, onError, token: initialToken, email: initialEmail }: ResetPasswordFormProps): react_jsx_runtime.JSX.Element;
|
|
120
|
+
declare function ChangePasswordForm({ endpoints, components, onSuccess, onError }: AuthFormProps): react_jsx_runtime.JSX.Element;
|
|
121
|
+
declare function TwoFactorForm({ endpoints, components, attemptToken, appEnv, onSuccess, onError, onReportSuspicious }: TwoFactorFormProps): react_jsx_runtime.JSX.Element;
|
|
122
|
+
|
|
123
|
+
interface PasskeyLoginButtonProps {
|
|
124
|
+
endpoints?: AuthEndpointConfig;
|
|
125
|
+
components: AuthButtonComponentInput;
|
|
126
|
+
className?: string;
|
|
127
|
+
onSuccess?: (redirectUrl: string, result: AuthJsonResponse) => void;
|
|
128
|
+
onError?: (message: string) => void;
|
|
129
|
+
}
|
|
130
|
+
declare function PasskeyLoginButton({ endpoints, components, className, onSuccess, onError }: PasskeyLoginButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
131
|
+
|
|
132
|
+
interface PasskeySectionProps {
|
|
133
|
+
endpoints?: AuthEndpointConfig;
|
|
134
|
+
components: AuthComponentInput;
|
|
135
|
+
onSuccess?: (message: string) => void;
|
|
136
|
+
onError?: (field: string, message: string) => void;
|
|
137
|
+
}
|
|
138
|
+
declare function PasskeySection({ endpoints, components, onSuccess, onError }: PasskeySectionProps): react_jsx_runtime.JSX.Element;
|
|
139
|
+
|
|
140
|
+
declare function getCsrfToken(explicitToken?: string): string;
|
|
141
|
+
declare function base64urlToArrayBuffer(b64: string): ArrayBuffer;
|
|
142
|
+
declare function arrayBufferToBase64url(buffer: ArrayBuffer): string;
|
|
143
|
+
declare function isAbortError(error: unknown): boolean;
|
|
144
|
+
interface AuthenticateWithPasskeyOptions {
|
|
145
|
+
endpoints?: AuthEndpointConfig;
|
|
146
|
+
mediation?: CredentialMediationRequirement;
|
|
147
|
+
signal?: AbortSignal;
|
|
148
|
+
}
|
|
149
|
+
interface PasskeyAuthenticationResult {
|
|
150
|
+
redirectUrl: string;
|
|
151
|
+
result: AuthJsonResponse;
|
|
152
|
+
}
|
|
153
|
+
interface RegisterPasskeyOptions {
|
|
154
|
+
endpoints?: AuthEndpointConfig;
|
|
155
|
+
name?: string;
|
|
156
|
+
signal?: AbortSignal;
|
|
157
|
+
}
|
|
158
|
+
interface PasskeyRegistrationResult {
|
|
159
|
+
result: AuthJsonResponse;
|
|
160
|
+
}
|
|
161
|
+
declare function getDefaultPasskeyName(): string;
|
|
162
|
+
declare function isConditionalMediationAvailable(): Promise<boolean>;
|
|
163
|
+
declare function authenticateWithPasskey({ endpoints, mediation, signal }?: AuthenticateWithPasskeyOptions): Promise<PasskeyAuthenticationResult>;
|
|
164
|
+
declare function registerPasskey({ endpoints, name, signal }?: RegisterPasskeyOptions): Promise<PasskeyRegistrationResult>;
|
|
165
|
+
|
|
166
|
+
export { type AuthButtonComponent, type AuthButtonComponentInput, type AuthButtonComponentProps, type AuthButtonSize, type AuthButtonVariant, type AuthComponentInput, type AuthComponentOverrides, type AuthComponentSet, type AuthComponentSuperset, type AuthComponents, type AuthContainerComponentProps, type AuthEndpointConfig, type AuthInputComponentProps, type AuthJsonResponse, type AuthLabelComponentProps, type AuthSignupField, type AuthSignupValues, type AuthValidationErrors, ChangePasswordForm, LoginForm, type Passkey, PasskeyLoginButton, PasskeySection, PasswordResetRequestForm, ResetPasswordForm, SignupForm, TwoFactorForm, arrayBufferToBase64url, authenticateWithPasskey, base64urlToArrayBuffer, getCsrfToken, getDefaultPasskeyName, isAbortError, isConditionalMediationAvailable, registerPasskey };
|