@authhero/adapter-interfaces 2.13.1 → 3.1.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.
|
@@ -73,6 +73,26 @@ export declare const customDomainSchema: z.ZodObject<{
|
|
|
73
73
|
}, z.core.$strip>;
|
|
74
74
|
export default customDomainSchema;
|
|
75
75
|
export type CustomDomain = z.infer<typeof customDomainSchema>;
|
|
76
|
+
/**
|
|
77
|
+
* Body schema for PATCH /custom-domains/{id}. Matches Auth0: only the
|
|
78
|
+
* mutable fields are accepted (tls_policy, custom_client_ip_header), plus
|
|
79
|
+
* authhero's domain_metadata extension used to drive SSL method / CA on
|
|
80
|
+
* the underlying CDN adapter.
|
|
81
|
+
*/
|
|
82
|
+
export declare const customDomainUpdateSchema: z.ZodObject<{
|
|
83
|
+
tls_policy: z.ZodOptional<z.ZodEnum<{
|
|
84
|
+
recommended: "recommended";
|
|
85
|
+
}>>;
|
|
86
|
+
custom_client_ip_header: z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
null: "null";
|
|
88
|
+
"true-client-ip": "true-client-ip";
|
|
89
|
+
"cf-connecting-ip": "cf-connecting-ip";
|
|
90
|
+
"x-forwarded-for": "x-forwarded-for";
|
|
91
|
+
"x-azure-clientip": "x-azure-clientip";
|
|
92
|
+
}>>;
|
|
93
|
+
domain_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
94
|
+
}, z.core.$strict>;
|
|
95
|
+
export type CustomDomainUpdate = z.infer<typeof customDomainUpdateSchema>;
|
|
76
96
|
export declare const customDomainWithTenantIdSchema: z.ZodObject<{
|
|
77
97
|
domain: z.ZodString;
|
|
78
98
|
type: z.ZodEnum<{
|
|
@@ -6,13 +6,14 @@ export declare const Strategy: {
|
|
|
6
6
|
readonly APPLE: "apple";
|
|
7
7
|
readonly FACEBOOK: "facebook";
|
|
8
8
|
readonly GITHUB: "github";
|
|
9
|
-
readonly
|
|
9
|
+
readonly WINDOWSLIVE: "windowslive";
|
|
10
10
|
readonly VIPPS: "vipps";
|
|
11
11
|
readonly OIDC: "oidc";
|
|
12
12
|
readonly OAUTH2: "oauth2";
|
|
13
13
|
readonly SAMLP: "samlp";
|
|
14
14
|
readonly WAAD: "waad";
|
|
15
15
|
readonly ADFS: "adfs";
|
|
16
|
+
readonly OKTA: "okta";
|
|
16
17
|
};
|
|
17
18
|
export declare const StrategyType: {
|
|
18
19
|
readonly DATABASE: "database";
|