-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIAuthArmorInteractiveClientConfiguration.ts
36 lines (30 loc) · 1.58 KB
/
IAuthArmorInteractiveClientConfiguration.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import {
AvailableAuthenticationMethods,
IAuthenticateOptions,
IAuthenticatorAuthenticateOptions,
IAuthenticatorUserSpecificAuthenticateOptions,
IAuthenticatorUsernamelessAuthenticateOptions,
IMagicLinkEmailAuthenticateOptions,
IRegisterOptions,
IAuthenticatorRegisterOptions,
IPasskeyRegisterOptions,
IMagicLinkEmailRegisterOptions
} from "@autharmor/autharmor-js";
import { IInternationalizationOptions, IUiOptions } from "../options";
export interface IAuthArmorInteractiveClientConfiguration {
permittedMethods?: Partial<AvailableAuthenticationMethods>;
defaultAuthenticateOptions?: Partial<IAuthenticateOptions>;
defaultAuthenticatorAuthenticateOptions?: Partial<IAuthenticatorAuthenticateOptions>;
defaultAuthenticatorUserSpecificAuthenticateOptions?: Partial<IAuthenticatorUserSpecificAuthenticateOptions>;
defaultAuthenticatorUsernamelessAuthenticateOptions?: Partial<IAuthenticatorUsernamelessAuthenticateOptions>;
defaultMagicLinkEmailAuthenticateOptions?: Partial<IMagicLinkEmailAuthenticateOptions>;
defaultRegisterOptions?: Partial<IRegisterOptions>;
defaultAuthenticatorRegisterOptions?: Partial<IAuthenticatorRegisterOptions>;
defaultPasskeyRegisterOptions?: Partial<IPasskeyRegisterOptions>;
defaultMagicLinkEmailRegisterOptions?: Partial<IMagicLinkEmailRegisterOptions>;
defaultMagicLinkEmailLogInRedirectUrl?: string;
defaultMagicLinkEmailRegisterRedirectUrl?: string;
uiOptions?: IUiOptions;
internationalizationOptions?: IInternationalizationOptions;
preferUsernamelessLogIn?: boolean;
}