authhero 8.3.0 → 8.4.1
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/js/client.js +3 -3
- package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/{p-aa120307.entry.js → p-1fc7fcdb.entry.js} +1 -1
- package/dist/assets/u/widget/p-5f7b7943.entry.js +1 -0
- package/dist/authhero.cjs +105 -105
- package/dist/authhero.d.ts +248 -205
- package/dist/authhero.mjs +1493 -1427
- package/dist/client.js +3 -3
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/client/client-bundle.d.ts +1 -1
- package/dist/types/client/loading-link-handler.d.ts +14 -0
- package/dist/types/components/Button.d.ts +2 -1
- package/dist/types/emails/defaults/BlockedAccount.d.ts +1 -1
- package/dist/types/emails/defaults/ChangePassword.d.ts +1 -1
- package/dist/types/emails/defaults/EnrollmentEmail.d.ts +1 -1
- package/dist/types/emails/defaults/Layout.d.ts +1 -1
- package/dist/types/emails/defaults/MfaOobCode.d.ts +1 -1
- package/dist/types/emails/defaults/PasswordReset.d.ts +1 -1
- package/dist/types/emails/defaults/PrimaryButton.d.ts +1 -1
- package/dist/types/emails/defaults/ResetEmail.d.ts +1 -1
- package/dist/types/emails/defaults/ResetEmailByCode.d.ts +1 -1
- package/dist/types/emails/defaults/StolenCredentials.d.ts +1 -1
- package/dist/types/emails/defaults/UserInvitation.d.ts +1 -1
- package/dist/types/emails/defaults/VerifyEmail.d.ts +1 -1
- package/dist/types/emails/defaults/VerifyEmailByCode.d.ts +1 -1
- package/dist/types/emails/defaults/WelcomeEmail.d.ts +1 -1
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/hooks/post-user-login.d.ts +2 -0
- package/dist/types/index.d.ts +204 -204
- package/dist/types/middlewares/authentication.d.ts +17 -0
- package/dist/types/routes/auth-api/index.d.ts +10 -10
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/client-grants.d.ts +8 -8
- package/dist/types/routes/management-api/clients.d.ts +7 -7
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/forms.d.ts +119 -119
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +50 -50
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +3 -3
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
- package/dist/types/types/AuthHeroConfig.d.ts +26 -1
- package/dist/types/types/IdToken.d.ts +2 -2
- package/dist/types/utils/jwt.d.ts +9 -0
- package/package.json +2 -2
- package/dist/assets/u/widget/p-35c8b265.entry.js +0 -1
|
@@ -25,14 +25,31 @@ export declare const MANAGEMENT_API_AUDIENCE = "urn:authhero:management";
|
|
|
25
25
|
* token, so a per-tenant identifier (e.g.
|
|
26
26
|
* `https://${tenant_id}.token.example.com/v2/api/`) can be constructed at
|
|
27
27
|
* request time alongside any global legacy identifiers.
|
|
28
|
+
*
|
|
29
|
+
* `additionalIssuers` extends the set of accepted token issuers beyond the
|
|
30
|
+
* deployment's own `getIssuer(env, custom_domain)`. The resolver receives the
|
|
31
|
+
* token's `tenant_id` and returns the issuers accepted for that token, so a
|
|
32
|
+
* control-plane issuer can be accepted on forwarded admin requests whose
|
|
33
|
+
* per-tenant worker has a different `env.ISSUER`. The default issuer is always
|
|
34
|
+
* accepted; the resolver is purely additive and may return `[]` to refuse.
|
|
28
35
|
*/
|
|
29
36
|
export type ManagementAudienceResolver = (params: {
|
|
30
37
|
tenant_id?: string;
|
|
31
38
|
}) => string[] | Promise<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Resolver returning the issuers accepted **in addition to** the deployment's
|
|
41
|
+
* own issuer when verifying bearer JWTs. Receives the token's `tenant_id` so a
|
|
42
|
+
* per-tenant or control-plane issuer can be constructed at request time.
|
|
43
|
+
* Returning `[]` keeps the strict single-issuer behavior for that token.
|
|
44
|
+
*/
|
|
45
|
+
export type IssuerResolver = (params: {
|
|
46
|
+
tenant_id?: string;
|
|
47
|
+
}) => string[] | Promise<string[]>;
|
|
32
48
|
export interface AuthMiddlewareOptions {
|
|
33
49
|
requireManagementAudience?: boolean;
|
|
34
50
|
relaxManagementAudience?: boolean;
|
|
35
51
|
additionalManagementAudiences?: ManagementAudienceResolver;
|
|
52
|
+
additionalIssuers?: IssuerResolver;
|
|
36
53
|
}
|
|
37
54
|
export declare function createAuthMiddleware(app: OpenAPIHono<{
|
|
38
55
|
Bindings: Bindings;
|
|
@@ -723,19 +723,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
723
723
|
email: string;
|
|
724
724
|
send: "code" | "link";
|
|
725
725
|
authParams: {
|
|
726
|
+
username?: string | undefined;
|
|
726
727
|
state?: string | undefined;
|
|
727
|
-
code_challenge?: string | undefined;
|
|
728
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
729
|
-
redirect_uri?: string | undefined;
|
|
730
|
-
nonce?: string | undefined;
|
|
731
728
|
act_as?: string | undefined;
|
|
732
729
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
733
730
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
731
|
+
redirect_uri?: string | undefined;
|
|
734
732
|
audience?: string | undefined;
|
|
735
733
|
organization?: string | undefined;
|
|
734
|
+
nonce?: string | undefined;
|
|
736
735
|
scope?: string | undefined;
|
|
737
736
|
prompt?: string | undefined;
|
|
738
|
-
|
|
737
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
738
|
+
code_challenge?: string | undefined;
|
|
739
739
|
ui_locales?: string | undefined;
|
|
740
740
|
max_age?: number | undefined;
|
|
741
741
|
acr_values?: string | undefined;
|
|
@@ -759,19 +759,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
759
759
|
phone_number: string;
|
|
760
760
|
send: "code" | "link";
|
|
761
761
|
authParams: {
|
|
762
|
+
username?: string | undefined;
|
|
762
763
|
state?: string | undefined;
|
|
763
|
-
code_challenge?: string | undefined;
|
|
764
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
765
|
-
redirect_uri?: string | undefined;
|
|
766
|
-
nonce?: string | undefined;
|
|
767
764
|
act_as?: string | undefined;
|
|
768
765
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
769
766
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
767
|
+
redirect_uri?: string | undefined;
|
|
770
768
|
audience?: string | undefined;
|
|
771
769
|
organization?: string | undefined;
|
|
770
|
+
nonce?: string | undefined;
|
|
772
771
|
scope?: string | undefined;
|
|
773
772
|
prompt?: string | undefined;
|
|
774
|
-
|
|
773
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
774
|
+
code_challenge?: string | undefined;
|
|
775
775
|
ui_locales?: string | undefined;
|
|
776
776
|
max_age?: number | undefined;
|
|
777
777
|
acr_values?: string | undefined;
|
|
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
username?: string | undefined;
|
|
17
18
|
state?: string | undefined;
|
|
18
|
-
code_challenge?: string | undefined;
|
|
19
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
20
|
-
redirect_uri?: string | undefined;
|
|
21
|
-
nonce?: string | undefined;
|
|
22
19
|
act_as?: string | undefined;
|
|
23
20
|
response_type?: AuthorizationResponseType | undefined;
|
|
24
21
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
22
|
+
redirect_uri?: string | undefined;
|
|
25
23
|
audience?: string | undefined;
|
|
26
24
|
organization?: string | undefined;
|
|
25
|
+
nonce?: string | undefined;
|
|
27
26
|
scope?: string | undefined;
|
|
28
27
|
prompt?: string | undefined;
|
|
29
|
-
|
|
28
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
|
+
code_challenge?: string | undefined;
|
|
30
30
|
ui_locales?: string | undefined;
|
|
31
31
|
max_age?: number | undefined;
|
|
32
32
|
acr_values?: string | undefined;
|
|
@@ -50,19 +50,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
username?: string | undefined;
|
|
53
54
|
state?: string | undefined;
|
|
54
|
-
code_challenge?: string | undefined;
|
|
55
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
56
|
-
redirect_uri?: string | undefined;
|
|
57
|
-
nonce?: string | undefined;
|
|
58
55
|
act_as?: string | undefined;
|
|
59
56
|
response_type?: AuthorizationResponseType | undefined;
|
|
60
57
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
58
|
+
redirect_uri?: string | undefined;
|
|
61
59
|
audience?: string | undefined;
|
|
62
60
|
organization?: string | undefined;
|
|
61
|
+
nonce?: string | undefined;
|
|
63
62
|
scope?: string | undefined;
|
|
64
63
|
prompt?: string | undefined;
|
|
65
|
-
|
|
64
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
|
+
code_challenge?: string | undefined;
|
|
66
66
|
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: string | undefined;
|
|
@@ -18,7 +18,7 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
18
18
|
scope?: string | undefined;
|
|
19
19
|
grant_types?: string[] | undefined;
|
|
20
20
|
response_types?: string[] | undefined;
|
|
21
|
-
token_endpoint_auth_method?: "none" | "
|
|
21
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
22
22
|
jwks_uri?: string | undefined;
|
|
23
23
|
jwks?: Record<string, unknown> | undefined;
|
|
24
24
|
software_id?: string | undefined;
|
|
@@ -107,7 +107,7 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
107
107
|
scope?: string | undefined;
|
|
108
108
|
grant_types?: string[] | undefined;
|
|
109
109
|
response_types?: string[] | undefined;
|
|
110
|
-
token_endpoint_auth_method?: "none" | "
|
|
110
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
111
111
|
jwks_uri?: string | undefined;
|
|
112
112
|
jwks?: Record<string, unknown> | undefined;
|
|
113
113
|
software_id?: string | undefined;
|
|
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
9
9
|
input: {
|
|
10
10
|
form: {
|
|
11
11
|
token: string;
|
|
12
|
-
token_type_hint?: "
|
|
12
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
13
13
|
client_id?: string | undefined;
|
|
14
14
|
client_secret?: string | undefined;
|
|
15
15
|
};
|
|
16
16
|
} & {
|
|
17
17
|
json: {
|
|
18
18
|
token: string;
|
|
19
|
-
token_type_hint?: "
|
|
19
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
20
20
|
client_id?: string | undefined;
|
|
21
21
|
client_secret?: string | undefined;
|
|
22
22
|
};
|
|
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
28
28
|
input: {
|
|
29
29
|
form: {
|
|
30
30
|
token: string;
|
|
31
|
-
token_type_hint?: "
|
|
31
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
32
32
|
client_id?: string | undefined;
|
|
33
33
|
client_secret?: string | undefined;
|
|
34
34
|
};
|
|
35
35
|
} & {
|
|
36
36
|
json: {
|
|
37
37
|
token: string;
|
|
38
|
-
token_type_hint?: "
|
|
38
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
39
39
|
client_id?: string | undefined;
|
|
40
40
|
client_secret?: string | undefined;
|
|
41
41
|
};
|
|
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
50
50
|
input: {
|
|
51
51
|
form: {
|
|
52
52
|
token: string;
|
|
53
|
-
token_type_hint?: "
|
|
53
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
54
54
|
client_id?: string | undefined;
|
|
55
55
|
client_secret?: string | undefined;
|
|
56
56
|
};
|
|
57
57
|
} & {
|
|
58
58
|
json: {
|
|
59
59
|
token: string;
|
|
60
|
-
token_type_hint?: "
|
|
60
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
61
61
|
client_id?: string | undefined;
|
|
62
62
|
client_secret?: string | undefined;
|
|
63
63
|
};
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "
|
|
40
|
+
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -16,7 +16,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
16
16
|
audience?: string | undefined;
|
|
17
17
|
client_id?: string | undefined;
|
|
18
18
|
allow_any_organization?: string | undefined;
|
|
19
|
-
subject_type?: "
|
|
19
|
+
subject_type?: "user" | "client" | undefined;
|
|
20
20
|
};
|
|
21
21
|
} & {
|
|
22
22
|
header: {
|
|
@@ -31,7 +31,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
31
31
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
32
32
|
allow_any_organization?: boolean | undefined;
|
|
33
33
|
is_system?: boolean | undefined;
|
|
34
|
-
subject_type?: "
|
|
34
|
+
subject_type?: "user" | "client" | undefined;
|
|
35
35
|
authorization_details_types?: string[] | undefined;
|
|
36
36
|
created_at?: string | undefined;
|
|
37
37
|
updated_at?: string | undefined;
|
|
@@ -47,7 +47,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
47
47
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
48
48
|
allow_any_organization?: boolean | undefined;
|
|
49
49
|
is_system?: boolean | undefined;
|
|
50
|
-
subject_type?: "
|
|
50
|
+
subject_type?: "user" | "client" | undefined;
|
|
51
51
|
authorization_details_types?: string[] | undefined;
|
|
52
52
|
created_at?: string | undefined;
|
|
53
53
|
updated_at?: string | undefined;
|
|
@@ -78,7 +78,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
78
78
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
79
79
|
allow_any_organization?: boolean | undefined;
|
|
80
80
|
is_system?: boolean | undefined;
|
|
81
|
-
subject_type?: "
|
|
81
|
+
subject_type?: "user" | "client" | undefined;
|
|
82
82
|
authorization_details_types?: string[] | undefined;
|
|
83
83
|
created_at?: string | undefined;
|
|
84
84
|
updated_at?: string | undefined;
|
|
@@ -123,7 +123,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
123
123
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
124
124
|
allow_any_organization?: boolean | undefined;
|
|
125
125
|
is_system?: boolean | undefined;
|
|
126
|
-
subject_type?: "
|
|
126
|
+
subject_type?: "user" | "client" | undefined;
|
|
127
127
|
authorization_details_types?: string[] | undefined;
|
|
128
128
|
};
|
|
129
129
|
};
|
|
@@ -135,7 +135,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
135
135
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
136
136
|
allow_any_organization?: boolean | undefined;
|
|
137
137
|
is_system?: boolean | undefined;
|
|
138
|
-
subject_type?: "
|
|
138
|
+
subject_type?: "user" | "client" | undefined;
|
|
139
139
|
authorization_details_types?: string[] | undefined;
|
|
140
140
|
created_at?: string | undefined;
|
|
141
141
|
updated_at?: string | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
159
159
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
160
160
|
allow_any_organization?: boolean | undefined;
|
|
161
161
|
is_system?: boolean | undefined;
|
|
162
|
-
subject_type?: "
|
|
162
|
+
subject_type?: "user" | "client" | undefined;
|
|
163
163
|
authorization_details_types?: string[] | undefined;
|
|
164
164
|
};
|
|
165
165
|
};
|
|
@@ -171,7 +171,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
171
171
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
172
172
|
allow_any_organization?: boolean | undefined;
|
|
173
173
|
is_system?: boolean | undefined;
|
|
174
|
-
subject_type?: "
|
|
174
|
+
subject_type?: "user" | "client" | undefined;
|
|
175
175
|
authorization_details_types?: string[] | undefined;
|
|
176
176
|
created_at?: string | undefined;
|
|
177
177
|
updated_at?: string | undefined;
|
|
@@ -72,7 +72,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
72
72
|
addons?: {
|
|
73
73
|
[x: string]: any;
|
|
74
74
|
} | undefined;
|
|
75
|
-
token_endpoint_auth_method?: "none" | "
|
|
75
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
76
76
|
client_metadata?: {
|
|
77
77
|
[x: string]: string;
|
|
78
78
|
} | undefined;
|
|
@@ -168,7 +168,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
168
168
|
addons?: {
|
|
169
169
|
[x: string]: any;
|
|
170
170
|
} | undefined;
|
|
171
|
-
token_endpoint_auth_method?: "none" | "
|
|
171
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
172
172
|
client_metadata?: {
|
|
173
173
|
[x: string]: string;
|
|
174
174
|
} | undefined;
|
|
@@ -279,7 +279,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
279
279
|
addons?: {
|
|
280
280
|
[x: string]: any;
|
|
281
281
|
} | undefined;
|
|
282
|
-
token_endpoint_auth_method?: "none" | "
|
|
282
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
283
283
|
client_metadata?: {
|
|
284
284
|
[x: string]: string;
|
|
285
285
|
} | undefined;
|
|
@@ -389,7 +389,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
389
389
|
custom_login_page_preview?: string | undefined;
|
|
390
390
|
form_template?: string | undefined;
|
|
391
391
|
addons?: Record<string, any> | undefined;
|
|
392
|
-
token_endpoint_auth_method?: "none" | "
|
|
392
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
393
393
|
client_metadata?: Record<string, string> | undefined;
|
|
394
394
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
395
395
|
mobile?: Record<string, any> | undefined;
|
|
@@ -469,7 +469,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
469
469
|
addons?: {
|
|
470
470
|
[x: string]: any;
|
|
471
471
|
} | undefined;
|
|
472
|
-
token_endpoint_auth_method?: "none" | "
|
|
472
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
473
473
|
client_metadata?: {
|
|
474
474
|
[x: string]: string;
|
|
475
475
|
} | undefined;
|
|
@@ -558,7 +558,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
558
558
|
custom_login_page_preview?: string | undefined;
|
|
559
559
|
form_template?: string | undefined;
|
|
560
560
|
addons?: Record<string, any> | undefined;
|
|
561
|
-
token_endpoint_auth_method?: "none" | "
|
|
561
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
562
562
|
client_metadata?: Record<string, string> | undefined;
|
|
563
563
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
564
564
|
mobile?: Record<string, any> | undefined;
|
|
@@ -638,7 +638,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
638
638
|
addons?: {
|
|
639
639
|
[x: string]: any;
|
|
640
640
|
} | undefined;
|
|
641
|
-
token_endpoint_auth_method?: "none" | "
|
|
641
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
642
642
|
client_metadata?: {
|
|
643
643
|
[x: string]: string;
|
|
644
644
|
} | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
} & {
|
|
14
14
|
json: {
|
|
15
|
-
template: "
|
|
15
|
+
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";
|
|
16
16
|
body: string;
|
|
17
17
|
from: string;
|
|
18
18
|
subject: string;
|
|
@@ -33,7 +33,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
33
33
|
};
|
|
34
34
|
} & {
|
|
35
35
|
json: {
|
|
36
|
-
template: "
|
|
36
|
+
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";
|
|
37
37
|
body: string;
|
|
38
38
|
from: string;
|
|
39
39
|
subject: string;
|
|
@@ -45,7 +45,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
output: {
|
|
48
|
-
template: "
|
|
48
|
+
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";
|
|
49
49
|
body: string;
|
|
50
50
|
from: string;
|
|
51
51
|
subject: string;
|
|
@@ -68,7 +68,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
output: {
|
|
71
|
-
name: "
|
|
71
|
+
name: "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";
|
|
72
72
|
body: string;
|
|
73
73
|
subject: string;
|
|
74
74
|
}[];
|
|
@@ -81,7 +81,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
81
81
|
$get: {
|
|
82
82
|
input: {
|
|
83
83
|
param: {
|
|
84
|
-
templateName: "
|
|
84
|
+
templateName: "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";
|
|
85
85
|
};
|
|
86
86
|
} & {
|
|
87
87
|
header: {
|
|
@@ -94,7 +94,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
94
94
|
} | {
|
|
95
95
|
input: {
|
|
96
96
|
param: {
|
|
97
|
-
templateName: "
|
|
97
|
+
templateName: "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";
|
|
98
98
|
};
|
|
99
99
|
} & {
|
|
100
100
|
header: {
|
|
@@ -102,7 +102,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
output: {
|
|
105
|
-
template: "
|
|
105
|
+
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";
|
|
106
106
|
body: string;
|
|
107
107
|
from: string;
|
|
108
108
|
subject: string;
|
|
@@ -121,7 +121,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
121
121
|
$put: {
|
|
122
122
|
input: {
|
|
123
123
|
param: {
|
|
124
|
-
templateName: "
|
|
124
|
+
templateName: "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";
|
|
125
125
|
};
|
|
126
126
|
} & {
|
|
127
127
|
header: {
|
|
@@ -129,7 +129,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
129
129
|
};
|
|
130
130
|
} & {
|
|
131
131
|
json: {
|
|
132
|
-
template: "
|
|
132
|
+
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";
|
|
133
133
|
body: string;
|
|
134
134
|
subject: string;
|
|
135
135
|
syntax?: "liquid" | undefined;
|
|
@@ -141,7 +141,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
143
|
output: {
|
|
144
|
-
template: "
|
|
144
|
+
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";
|
|
145
145
|
body: string;
|
|
146
146
|
from: string;
|
|
147
147
|
subject: string;
|
|
@@ -160,7 +160,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
160
160
|
$patch: {
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
|
-
templateName: "
|
|
163
|
+
templateName: "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";
|
|
164
164
|
};
|
|
165
165
|
} & {
|
|
166
166
|
header: {
|
|
@@ -168,7 +168,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
168
168
|
};
|
|
169
169
|
} & {
|
|
170
170
|
json: {
|
|
171
|
-
template?: "
|
|
171
|
+
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" | undefined;
|
|
172
172
|
body?: string | undefined;
|
|
173
173
|
from?: string | undefined;
|
|
174
174
|
subject?: string | undefined;
|
|
@@ -185,7 +185,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
185
185
|
} | {
|
|
186
186
|
input: {
|
|
187
187
|
param: {
|
|
188
|
-
templateName: "
|
|
188
|
+
templateName: "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";
|
|
189
189
|
};
|
|
190
190
|
} & {
|
|
191
191
|
header: {
|
|
@@ -193,7 +193,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
193
193
|
};
|
|
194
194
|
} & {
|
|
195
195
|
json: {
|
|
196
|
-
template?: "
|
|
196
|
+
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" | undefined;
|
|
197
197
|
body?: string | undefined;
|
|
198
198
|
from?: string | undefined;
|
|
199
199
|
subject?: string | undefined;
|
|
@@ -205,7 +205,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
207
|
output: {
|
|
208
|
-
template: "
|
|
208
|
+
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";
|
|
209
209
|
body: string;
|
|
210
210
|
from: string;
|
|
211
211
|
subject: string;
|
|
@@ -224,7 +224,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
224
224
|
$delete: {
|
|
225
225
|
input: {
|
|
226
226
|
param: {
|
|
227
|
-
templateName: "
|
|
227
|
+
templateName: "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";
|
|
228
228
|
};
|
|
229
229
|
} & {
|
|
230
230
|
header: {
|
|
@@ -237,7 +237,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
237
237
|
} | {
|
|
238
238
|
input: {
|
|
239
239
|
param: {
|
|
240
|
-
templateName: "
|
|
240
|
+
templateName: "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";
|
|
241
241
|
};
|
|
242
242
|
} & {
|
|
243
243
|
header: {
|
|
@@ -254,7 +254,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
254
254
|
$post: {
|
|
255
255
|
input: {
|
|
256
256
|
param: {
|
|
257
|
-
templateName: "
|
|
257
|
+
templateName: "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";
|
|
258
258
|
};
|
|
259
259
|
} & {
|
|
260
260
|
header: {
|