forked from clerk/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
29 lines (27 loc) · 777 Bytes
/
Copy pathtypes.ts
File metadata and controls
29 lines (27 loc) · 777 Bytes
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
import type { VerifyTokenOptions } from '@clerk/backend';
import type {
LegacyRedirectProps,
MultiDomainAndOrProxy,
SignInFallbackRedirectUrl,
SignInForceRedirectUrl,
SignUpFallbackRedirectUrl,
SignUpForceRedirectUrl,
} from '@clerk/types';
export type LoaderOptions = {
publishableKey?: string;
jwtKey?: string;
secretKey?: string;
authorizedParties?: [];
signInUrl?: string;
signUpUrl?: string;
} & Pick<VerifyTokenOptions, 'audience'> &
MultiDomainAndOrProxy &
SignInForceRedirectUrl &
SignInFallbackRedirectUrl &
SignUpForceRedirectUrl &
SignUpFallbackRedirectUrl &
LegacyRedirectProps;
export type AdditionalStateOptions = SignInFallbackRedirectUrl &
SignUpFallbackRedirectUrl &
SignInForceRedirectUrl &
SignUpForceRedirectUrl;