authhero 4.113.0 → 4.114.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/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +133 -120
- package/dist/authhero.d.ts +319 -14
- package/dist/authhero.mjs +24261 -20325
- package/dist/stats.html +1 -1
- package/package.json +10 -5
package/dist/authhero.d.ts
CHANGED
|
@@ -11397,7 +11397,7 @@ export interface Auth0FlowInsert {
|
|
|
11397
11397
|
export declare enum AuthorizationResponseType {
|
|
11398
11398
|
TOKEN = "token",
|
|
11399
11399
|
ID_TOKEN = "id_token",
|
|
11400
|
-
TOKEN_ID_TOKEN = "token
|
|
11400
|
+
TOKEN_ID_TOKEN = "id_token token",
|
|
11401
11401
|
CODE = "code"
|
|
11402
11402
|
}
|
|
11403
11403
|
export declare enum AuthorizationResponseMode {
|
|
@@ -43361,9 +43361,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43361
43361
|
issuer: z.ZodString;
|
|
43362
43362
|
authorization_endpoint: z.ZodString;
|
|
43363
43363
|
token_endpoint: z.ZodString;
|
|
43364
|
-
device_authorization_endpoint: z.ZodString;
|
|
43365
43364
|
userinfo_endpoint: z.ZodString;
|
|
43366
|
-
mfa_challenge_endpoint: z.ZodString;
|
|
43367
43365
|
jwks_uri: z.ZodString;
|
|
43368
43366
|
registration_endpoint: z.ZodOptional<z.ZodString>;
|
|
43369
43367
|
revocation_endpoint: z.ZodString;
|
|
@@ -43387,8 +43385,6 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43387
43385
|
userinfo_endpoint: string;
|
|
43388
43386
|
jwks_uri: string;
|
|
43389
43387
|
issuer: string;
|
|
43390
|
-
device_authorization_endpoint: string;
|
|
43391
|
-
mfa_challenge_endpoint: string;
|
|
43392
43388
|
revocation_endpoint: string;
|
|
43393
43389
|
scopes_supported: string[];
|
|
43394
43390
|
response_types_supported: string[];
|
|
@@ -43411,8 +43407,6 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43411
43407
|
userinfo_endpoint: string;
|
|
43412
43408
|
jwks_uri: string;
|
|
43413
43409
|
issuer: string;
|
|
43414
|
-
device_authorization_endpoint: string;
|
|
43415
|
-
mfa_challenge_endpoint: string;
|
|
43416
43410
|
revocation_endpoint: string;
|
|
43417
43411
|
scopes_supported: string[];
|
|
43418
43412
|
response_types_supported: string[];
|
|
@@ -45012,6 +45006,7 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
45012
45006
|
export type Session = z.infer<typeof sessionSchema>;
|
|
45013
45007
|
export declare const signingKeySchema: z.ZodObject<{
|
|
45014
45008
|
kid: z.ZodString;
|
|
45009
|
+
tenant_id: z.ZodOptional<z.ZodString>;
|
|
45015
45010
|
cert: z.ZodString;
|
|
45016
45011
|
fingerprint: z.ZodString;
|
|
45017
45012
|
thumbprint: z.ZodString;
|
|
@@ -45034,6 +45029,7 @@ export declare const signingKeySchema: z.ZodObject<{
|
|
|
45034
45029
|
cert: string;
|
|
45035
45030
|
fingerprint: string;
|
|
45036
45031
|
thumbprint: string;
|
|
45032
|
+
tenant_id?: string | undefined;
|
|
45037
45033
|
connection?: string | undefined;
|
|
45038
45034
|
revoked_at?: string | undefined;
|
|
45039
45035
|
pkcs7?: string | undefined;
|
|
@@ -45049,6 +45045,7 @@ export declare const signingKeySchema: z.ZodObject<{
|
|
|
45049
45045
|
cert: string;
|
|
45050
45046
|
fingerprint: string;
|
|
45051
45047
|
thumbprint: string;
|
|
45048
|
+
tenant_id?: string | undefined;
|
|
45052
45049
|
connection?: string | undefined;
|
|
45053
45050
|
revoked_at?: string | undefined;
|
|
45054
45051
|
pkcs7?: string | undefined;
|
|
@@ -48205,6 +48202,66 @@ export declare const emailProviderSchema: z.ZodObject<{
|
|
|
48205
48202
|
settings?: {} | undefined;
|
|
48206
48203
|
}>;
|
|
48207
48204
|
export type EmailProvider = z.infer<typeof emailProviderSchema>;
|
|
48205
|
+
export declare const emailTemplateNameSchema: z.ZodEnum<[
|
|
48206
|
+
"verify_email",
|
|
48207
|
+
"verify_email_by_code",
|
|
48208
|
+
"reset_email",
|
|
48209
|
+
"reset_email_by_code",
|
|
48210
|
+
"welcome_email",
|
|
48211
|
+
"blocked_account",
|
|
48212
|
+
"stolen_credentials",
|
|
48213
|
+
"enrollment_email",
|
|
48214
|
+
"mfa_oob_code",
|
|
48215
|
+
"change_password",
|
|
48216
|
+
"password_reset",
|
|
48217
|
+
"user_invitation"
|
|
48218
|
+
]>;
|
|
48219
|
+
export type EmailTemplateName = z.infer<typeof emailTemplateNameSchema>;
|
|
48220
|
+
export declare const emailTemplateSchema: z.ZodObject<{
|
|
48221
|
+
template: z.ZodEnum<[
|
|
48222
|
+
"verify_email",
|
|
48223
|
+
"verify_email_by_code",
|
|
48224
|
+
"reset_email",
|
|
48225
|
+
"reset_email_by_code",
|
|
48226
|
+
"welcome_email",
|
|
48227
|
+
"blocked_account",
|
|
48228
|
+
"stolen_credentials",
|
|
48229
|
+
"enrollment_email",
|
|
48230
|
+
"mfa_oob_code",
|
|
48231
|
+
"change_password",
|
|
48232
|
+
"password_reset",
|
|
48233
|
+
"user_invitation"
|
|
48234
|
+
]>;
|
|
48235
|
+
body: z.ZodString;
|
|
48236
|
+
from: z.ZodString;
|
|
48237
|
+
subject: z.ZodString;
|
|
48238
|
+
syntax: z.ZodDefault<z.ZodLiteral<"liquid">>;
|
|
48239
|
+
resultUrl: z.ZodOptional<z.ZodString>;
|
|
48240
|
+
urlLifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
48241
|
+
includeEmailInRedirect: z.ZodDefault<z.ZodBoolean>;
|
|
48242
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
48243
|
+
}, "strip", z.ZodTypeAny, {
|
|
48244
|
+
body: string;
|
|
48245
|
+
from: string;
|
|
48246
|
+
enabled: boolean;
|
|
48247
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
48248
|
+
subject: string;
|
|
48249
|
+
syntax: "liquid";
|
|
48250
|
+
includeEmailInRedirect: boolean;
|
|
48251
|
+
resultUrl?: string | undefined;
|
|
48252
|
+
urlLifetimeInSeconds?: number | undefined;
|
|
48253
|
+
}, {
|
|
48254
|
+
body: string;
|
|
48255
|
+
from: string;
|
|
48256
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
48257
|
+
subject: string;
|
|
48258
|
+
enabled?: boolean | undefined;
|
|
48259
|
+
syntax?: "liquid" | undefined;
|
|
48260
|
+
resultUrl?: string | undefined;
|
|
48261
|
+
urlLifetimeInSeconds?: number | undefined;
|
|
48262
|
+
includeEmailInRedirect?: boolean | undefined;
|
|
48263
|
+
}>;
|
|
48264
|
+
export type EmailTemplate = z.infer<typeof emailTemplateSchema>;
|
|
48208
48265
|
export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
48209
48266
|
id: z.ZodString;
|
|
48210
48267
|
login_id: z.ZodString;
|
|
@@ -50726,6 +50783,13 @@ export interface EmailProvidersAdapter {
|
|
|
50726
50783
|
get: (tenant_id: string) => Promise<EmailProvider | null>;
|
|
50727
50784
|
remove: (tenant_id: string) => Promise<void>;
|
|
50728
50785
|
}
|
|
50786
|
+
export interface EmailTemplatesAdapter {
|
|
50787
|
+
get: (tenant_id: string, templateName: EmailTemplateName) => Promise<EmailTemplate | null>;
|
|
50788
|
+
list: (tenant_id: string) => Promise<EmailTemplate[]>;
|
|
50789
|
+
create: (tenant_id: string, template: EmailTemplate) => Promise<EmailTemplate>;
|
|
50790
|
+
update: (tenant_id: string, templateName: EmailTemplateName, template: Partial<EmailTemplate>) => Promise<boolean>;
|
|
50791
|
+
remove: (tenant_id: string, templateName: EmailTemplateName) => Promise<boolean>;
|
|
50792
|
+
}
|
|
50729
50793
|
export interface ListRefreshTokenResponse extends Totals {
|
|
50730
50794
|
refresh_tokens: RefreshToken[];
|
|
50731
50795
|
}
|
|
@@ -51105,6 +51169,7 @@ export interface DataAdapters {
|
|
|
51105
51169
|
connections: ConnectionsAdapter;
|
|
51106
51170
|
customDomains: CustomDomainsAdapter;
|
|
51107
51171
|
emailProviders: EmailProvidersAdapter;
|
|
51172
|
+
emailTemplates: EmailTemplatesAdapter;
|
|
51108
51173
|
flows: FlowsAdapter;
|
|
51109
51174
|
forms: FormsAdapter;
|
|
51110
51175
|
geo?: GeoAdapter;
|
|
@@ -54189,6 +54254,29 @@ export type UserLinkingModeOption = UserLinkingMode | UserLinkingModeResolver;
|
|
|
54189
54254
|
export type UsernamePasswordProviderResolver = (params: {
|
|
54190
54255
|
tenant_id: string;
|
|
54191
54256
|
}) => "auth0" | "auth2" | Promise<"auth0" | "auth2">;
|
|
54257
|
+
/**
|
|
54258
|
+
* Mode for which signing-key bucket a tenant uses when minting and
|
|
54259
|
+
* publishing JWTs.
|
|
54260
|
+
*
|
|
54261
|
+
* - `"control-plane"` — tenant uses the shared control-plane keys (rows
|
|
54262
|
+
* with `tenant_id IS NULL`). This matches the legacy single-key-pool
|
|
54263
|
+
* behavior; existing data needs no migration.
|
|
54264
|
+
* - `"tenant"` — tenant uses its own keys (rows with `tenant_id =
|
|
54265
|
+
* tenantId`). Falls back to the control-plane bucket if the tenant has
|
|
54266
|
+
* no non-revoked key yet, so flipping a tenant on is safe even before
|
|
54267
|
+
* a tenant key has been minted. JWKS for that tenant publishes the
|
|
54268
|
+
* union of tenant + control-plane keys so tokens signed by either set
|
|
54269
|
+
* keep verifying during rotation.
|
|
54270
|
+
*/
|
|
54271
|
+
export type SigningKeyMode = "control-plane" | "tenant";
|
|
54272
|
+
/**
|
|
54273
|
+
* Resolver form for the per-tenant signing-key mode. Receives the
|
|
54274
|
+
* resolved `tenant_id` and returns which bucket to use. May be async.
|
|
54275
|
+
*/
|
|
54276
|
+
export type SigningKeyModeResolver = (params: {
|
|
54277
|
+
tenant_id: string;
|
|
54278
|
+
}) => SigningKeyMode | Promise<SigningKeyMode>;
|
|
54279
|
+
export type SigningKeyModeOption = SigningKeyMode | SigningKeyModeResolver;
|
|
54192
54280
|
export interface AuthHeroConfig {
|
|
54193
54281
|
dataAdapter: DataAdapters;
|
|
54194
54282
|
/**
|
|
@@ -54404,6 +54492,23 @@ export interface AuthHeroConfig {
|
|
|
54404
54492
|
* flows can be removed once all tenants have been backfilled.
|
|
54405
54493
|
*/
|
|
54406
54494
|
usernamePasswordProvider?: UsernamePasswordProviderResolver;
|
|
54495
|
+
/**
|
|
54496
|
+
* Per-tenant control over which signing-key bucket a tenant uses.
|
|
54497
|
+
*
|
|
54498
|
+
* Accepts either a static value or a resolver that receives
|
|
54499
|
+
* `{ tenant_id }` and returns the mode. Use the resolver form to
|
|
54500
|
+
* migrate tenants onto their own keys one at a time.
|
|
54501
|
+
*
|
|
54502
|
+
* Omit (or set to `"control-plane"`) to preserve the legacy behavior
|
|
54503
|
+
* where every tenant shares the control-plane keys.
|
|
54504
|
+
*
|
|
54505
|
+
* TRANSITIONAL: once every tenant is on `"tenant"` and the
|
|
54506
|
+
* control-plane bucket has been retired, this option and the
|
|
54507
|
+
* fallback path can be removed.
|
|
54508
|
+
*
|
|
54509
|
+
* @default "control-plane"
|
|
54510
|
+
*/
|
|
54511
|
+
signingKeyMode?: SigningKeyModeOption;
|
|
54407
54512
|
}
|
|
54408
54513
|
export type UserInfo = {
|
|
54409
54514
|
sub: string;
|
|
@@ -54466,6 +54571,7 @@ export type Bindings = {
|
|
|
54466
54571
|
outbox?: OutboxConfig;
|
|
54467
54572
|
userLinkingMode?: UserLinkingModeOption;
|
|
54468
54573
|
usernamePasswordProvider?: UsernamePasswordProviderResolver;
|
|
54574
|
+
signingKeyMode?: SigningKeyModeOption;
|
|
54469
54575
|
/**
|
|
54470
54576
|
* Allow outbound fetches (jwks_uri, request_uri) to localhost / private IP
|
|
54471
54577
|
* ranges and over plain http. Intended for tests and local development;
|
|
@@ -65127,6 +65233,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65127
65233
|
cert: string;
|
|
65128
65234
|
fingerprint: string;
|
|
65129
65235
|
thumbprint: string;
|
|
65236
|
+
tenant_id?: string | undefined | undefined;
|
|
65130
65237
|
connection?: string | undefined | undefined;
|
|
65131
65238
|
revoked_at?: string | undefined | undefined;
|
|
65132
65239
|
pkcs7?: string | undefined | undefined;
|
|
@@ -65159,6 +65266,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65159
65266
|
cert: string;
|
|
65160
65267
|
fingerprint: string;
|
|
65161
65268
|
thumbprint: string;
|
|
65269
|
+
tenant_id?: string | undefined | undefined;
|
|
65162
65270
|
connection?: string | undefined | undefined;
|
|
65163
65271
|
revoked_at?: string | undefined | undefined;
|
|
65164
65272
|
pkcs7?: string | undefined | undefined;
|
|
@@ -66271,6 +66379,205 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66271
66379
|
};
|
|
66272
66380
|
};
|
|
66273
66381
|
}, "/users"> & import("hono/types").MergeSchemaPath<{
|
|
66382
|
+
"/": {
|
|
66383
|
+
$post: {
|
|
66384
|
+
input: {
|
|
66385
|
+
header: {
|
|
66386
|
+
"tenant-id"?: string | undefined;
|
|
66387
|
+
};
|
|
66388
|
+
} & {
|
|
66389
|
+
json: {
|
|
66390
|
+
body: string;
|
|
66391
|
+
from: string;
|
|
66392
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
66393
|
+
subject: string;
|
|
66394
|
+
enabled?: boolean | undefined;
|
|
66395
|
+
syntax?: "liquid" | undefined;
|
|
66396
|
+
resultUrl?: string | undefined;
|
|
66397
|
+
urlLifetimeInSeconds?: number | undefined;
|
|
66398
|
+
includeEmailInRedirect?: boolean | undefined;
|
|
66399
|
+
};
|
|
66400
|
+
};
|
|
66401
|
+
output: {};
|
|
66402
|
+
outputFormat: string;
|
|
66403
|
+
status: 409;
|
|
66404
|
+
} | {
|
|
66405
|
+
input: {
|
|
66406
|
+
header: {
|
|
66407
|
+
"tenant-id"?: string | undefined;
|
|
66408
|
+
};
|
|
66409
|
+
} & {
|
|
66410
|
+
json: {
|
|
66411
|
+
body: string;
|
|
66412
|
+
from: string;
|
|
66413
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
66414
|
+
subject: string;
|
|
66415
|
+
enabled?: boolean | undefined;
|
|
66416
|
+
syntax?: "liquid" | undefined;
|
|
66417
|
+
resultUrl?: string | undefined;
|
|
66418
|
+
urlLifetimeInSeconds?: number | undefined;
|
|
66419
|
+
includeEmailInRedirect?: boolean | undefined;
|
|
66420
|
+
};
|
|
66421
|
+
};
|
|
66422
|
+
output: {
|
|
66423
|
+
body: string;
|
|
66424
|
+
from: string;
|
|
66425
|
+
enabled: boolean;
|
|
66426
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
66427
|
+
subject: string;
|
|
66428
|
+
syntax: "liquid";
|
|
66429
|
+
includeEmailInRedirect: boolean;
|
|
66430
|
+
resultUrl?: string | undefined | undefined;
|
|
66431
|
+
urlLifetimeInSeconds?: number | undefined | undefined;
|
|
66432
|
+
};
|
|
66433
|
+
outputFormat: "json";
|
|
66434
|
+
status: 201;
|
|
66435
|
+
};
|
|
66436
|
+
};
|
|
66437
|
+
} & {
|
|
66438
|
+
"/:templateName": {
|
|
66439
|
+
$get: {
|
|
66440
|
+
input: {
|
|
66441
|
+
param: {
|
|
66442
|
+
templateName: "verify_email" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "password_reset" | "user_invitation";
|
|
66443
|
+
};
|
|
66444
|
+
} & {
|
|
66445
|
+
header: {
|
|
66446
|
+
"tenant-id"?: string | undefined;
|
|
66447
|
+
};
|
|
66448
|
+
};
|
|
66449
|
+
output: {};
|
|
66450
|
+
outputFormat: string;
|
|
66451
|
+
status: 404;
|
|
66452
|
+
} | {
|
|
66453
|
+
input: {
|
|
66454
|
+
param: {
|
|
66455
|
+
templateName: "verify_email" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "password_reset" | "user_invitation";
|
|
66456
|
+
};
|
|
66457
|
+
} & {
|
|
66458
|
+
header: {
|
|
66459
|
+
"tenant-id"?: string | undefined;
|
|
66460
|
+
};
|
|
66461
|
+
};
|
|
66462
|
+
output: {
|
|
66463
|
+
body: string;
|
|
66464
|
+
from: string;
|
|
66465
|
+
enabled: boolean;
|
|
66466
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
66467
|
+
subject: string;
|
|
66468
|
+
syntax: "liquid";
|
|
66469
|
+
includeEmailInRedirect: boolean;
|
|
66470
|
+
resultUrl?: string | undefined | undefined;
|
|
66471
|
+
urlLifetimeInSeconds?: number | undefined | undefined;
|
|
66472
|
+
};
|
|
66473
|
+
outputFormat: "json";
|
|
66474
|
+
status: 200;
|
|
66475
|
+
};
|
|
66476
|
+
};
|
|
66477
|
+
} & {
|
|
66478
|
+
"/:templateName": {
|
|
66479
|
+
$put: {
|
|
66480
|
+
input: {
|
|
66481
|
+
param: {
|
|
66482
|
+
templateName: "verify_email" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "password_reset" | "user_invitation";
|
|
66483
|
+
};
|
|
66484
|
+
} & {
|
|
66485
|
+
header: {
|
|
66486
|
+
"tenant-id"?: string | undefined;
|
|
66487
|
+
};
|
|
66488
|
+
} & {
|
|
66489
|
+
json: {
|
|
66490
|
+
body: string;
|
|
66491
|
+
from: string;
|
|
66492
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
66493
|
+
subject: string;
|
|
66494
|
+
enabled?: boolean | undefined;
|
|
66495
|
+
syntax?: "liquid" | undefined;
|
|
66496
|
+
resultUrl?: string | undefined;
|
|
66497
|
+
urlLifetimeInSeconds?: number | undefined;
|
|
66498
|
+
includeEmailInRedirect?: boolean | undefined;
|
|
66499
|
+
};
|
|
66500
|
+
};
|
|
66501
|
+
output: {
|
|
66502
|
+
body: string;
|
|
66503
|
+
from: string;
|
|
66504
|
+
enabled: boolean;
|
|
66505
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
66506
|
+
subject: string;
|
|
66507
|
+
syntax: "liquid";
|
|
66508
|
+
includeEmailInRedirect: boolean;
|
|
66509
|
+
resultUrl?: string | undefined | undefined;
|
|
66510
|
+
urlLifetimeInSeconds?: number | undefined | undefined;
|
|
66511
|
+
};
|
|
66512
|
+
outputFormat: "json";
|
|
66513
|
+
status: 200;
|
|
66514
|
+
};
|
|
66515
|
+
};
|
|
66516
|
+
} & {
|
|
66517
|
+
"/:templateName": {
|
|
66518
|
+
$patch: {
|
|
66519
|
+
input: {
|
|
66520
|
+
param: {
|
|
66521
|
+
templateName: "verify_email" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "password_reset" | "user_invitation";
|
|
66522
|
+
};
|
|
66523
|
+
} & {
|
|
66524
|
+
header: {
|
|
66525
|
+
"tenant-id"?: string | undefined;
|
|
66526
|
+
};
|
|
66527
|
+
} & {
|
|
66528
|
+
json: {
|
|
66529
|
+
body?: string | undefined;
|
|
66530
|
+
from?: string | undefined;
|
|
66531
|
+
enabled?: boolean | undefined;
|
|
66532
|
+
template?: "verify_email" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "password_reset" | "user_invitation" | undefined;
|
|
66533
|
+
subject?: string | undefined;
|
|
66534
|
+
syntax?: "liquid" | undefined;
|
|
66535
|
+
resultUrl?: string | undefined;
|
|
66536
|
+
urlLifetimeInSeconds?: number | undefined;
|
|
66537
|
+
includeEmailInRedirect?: boolean | undefined;
|
|
66538
|
+
};
|
|
66539
|
+
};
|
|
66540
|
+
output: {};
|
|
66541
|
+
outputFormat: string;
|
|
66542
|
+
status: 404;
|
|
66543
|
+
} | {
|
|
66544
|
+
input: {
|
|
66545
|
+
param: {
|
|
66546
|
+
templateName: "verify_email" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "password_reset" | "user_invitation";
|
|
66547
|
+
};
|
|
66548
|
+
} & {
|
|
66549
|
+
header: {
|
|
66550
|
+
"tenant-id"?: string | undefined;
|
|
66551
|
+
};
|
|
66552
|
+
} & {
|
|
66553
|
+
json: {
|
|
66554
|
+
body?: string | undefined;
|
|
66555
|
+
from?: string | undefined;
|
|
66556
|
+
enabled?: boolean | undefined;
|
|
66557
|
+
template?: "verify_email" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "password_reset" | "user_invitation" | undefined;
|
|
66558
|
+
subject?: string | undefined;
|
|
66559
|
+
syntax?: "liquid" | undefined;
|
|
66560
|
+
resultUrl?: string | undefined;
|
|
66561
|
+
urlLifetimeInSeconds?: number | undefined;
|
|
66562
|
+
includeEmailInRedirect?: boolean | undefined;
|
|
66563
|
+
};
|
|
66564
|
+
};
|
|
66565
|
+
output: {
|
|
66566
|
+
body: string;
|
|
66567
|
+
from: string;
|
|
66568
|
+
enabled: boolean;
|
|
66569
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
66570
|
+
subject: string;
|
|
66571
|
+
syntax: "liquid";
|
|
66572
|
+
includeEmailInRedirect: boolean;
|
|
66573
|
+
resultUrl?: string | undefined | undefined;
|
|
66574
|
+
urlLifetimeInSeconds?: number | undefined | undefined;
|
|
66575
|
+
};
|
|
66576
|
+
outputFormat: "json";
|
|
66577
|
+
status: 200;
|
|
66578
|
+
};
|
|
66579
|
+
};
|
|
66580
|
+
}, "/email-templates"> & import("hono/types").MergeSchemaPath<{
|
|
66274
66581
|
"/": {
|
|
66275
66582
|
$get: {
|
|
66276
66583
|
input: {
|
|
@@ -68106,7 +68413,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68106
68413
|
organization?: string | undefined;
|
|
68107
68414
|
nonce?: string | undefined;
|
|
68108
68415
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
68109
|
-
response_type?:
|
|
68416
|
+
response_type?: unknown;
|
|
68110
68417
|
prompt?: string | undefined;
|
|
68111
68418
|
state?: string | undefined;
|
|
68112
68419
|
auth0Client?: string | undefined;
|
|
@@ -68139,7 +68446,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68139
68446
|
organization?: string | undefined;
|
|
68140
68447
|
nonce?: string | undefined;
|
|
68141
68448
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
68142
|
-
response_type?:
|
|
68449
|
+
response_type?: unknown;
|
|
68143
68450
|
prompt?: string | undefined;
|
|
68144
68451
|
state?: string | undefined;
|
|
68145
68452
|
auth0Client?: string | undefined;
|
|
@@ -68172,7 +68479,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68172
68479
|
organization?: string | undefined;
|
|
68173
68480
|
nonce?: string | undefined;
|
|
68174
68481
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
68175
|
-
response_type?:
|
|
68482
|
+
response_type?: unknown;
|
|
68176
68483
|
prompt?: string | undefined;
|
|
68177
68484
|
state?: string | undefined;
|
|
68178
68485
|
auth0Client?: string | undefined;
|
|
@@ -68213,7 +68520,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68213
68520
|
organization?: string | undefined;
|
|
68214
68521
|
nonce?: string | undefined;
|
|
68215
68522
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
68216
|
-
response_type?:
|
|
68523
|
+
response_type?: unknown;
|
|
68217
68524
|
prompt?: string | undefined;
|
|
68218
68525
|
state?: string | undefined;
|
|
68219
68526
|
auth0Client?: string | undefined;
|
|
@@ -68248,7 +68555,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68248
68555
|
organization?: string | undefined;
|
|
68249
68556
|
nonce?: string | undefined;
|
|
68250
68557
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
68251
|
-
response_type?:
|
|
68558
|
+
response_type?: unknown;
|
|
68252
68559
|
prompt?: string | undefined;
|
|
68253
68560
|
state?: string | undefined;
|
|
68254
68561
|
auth0Client?: string | undefined;
|
|
@@ -69010,8 +69317,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
69010
69317
|
userinfo_endpoint: string;
|
|
69011
69318
|
jwks_uri: string;
|
|
69012
69319
|
issuer: string;
|
|
69013
|
-
device_authorization_endpoint: string;
|
|
69014
|
-
mfa_challenge_endpoint: string;
|
|
69015
69320
|
revocation_endpoint: string;
|
|
69016
69321
|
scopes_supported: string[];
|
|
69017
69322
|
response_types_supported: string[];
|