authhero 9.11.0 → 9.11.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/authhero.cjs +3 -3
- package/dist/authhero.d.ts +269 -247
- package/dist/authhero.mjs +6 -5
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/helpers/reserved-claims.d.ts +19 -3
- package/dist/types/index.d.ts +247 -247
- package/dist/types/routes/auth-api/index.d.ts +9 -9
- package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
- package/dist/types/routes/auth-api/well-known.d.ts +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/failed-events.d.ts +1 -1
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +218 -218
- package/dist/types/routes/management-api/keys.d.ts +12 -12
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/tenant-operations.d.ts +1 -1
- package/dist/types/routes/management-api/users.d.ts +12 -12
- package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
- package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/types/AuthHeroConfig.d.ts +21 -0
- package/dist/types/types/Bindings.d.ts +1 -0
- package/dist/types/utils/jwks.d.ts +2 -2
- package/package.json +1 -1
|
@@ -741,15 +741,15 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
741
741
|
scope?: string | undefined;
|
|
742
742
|
username?: string | undefined;
|
|
743
743
|
audience?: string | undefined;
|
|
744
|
+
nonce?: string | undefined;
|
|
744
745
|
organization?: string | undefined;
|
|
745
|
-
state?: string | undefined;
|
|
746
746
|
redirect_uri?: string | undefined;
|
|
747
|
-
|
|
748
|
-
ui_locales?: string | undefined;
|
|
747
|
+
state?: string | undefined;
|
|
749
748
|
act_as?: string | undefined;
|
|
750
|
-
|
|
749
|
+
prompt?: string | undefined;
|
|
751
750
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
752
751
|
code_challenge?: string | undefined;
|
|
752
|
+
ui_locales?: string | undefined;
|
|
753
753
|
max_age?: number | undefined;
|
|
754
754
|
acr_values?: string | undefined;
|
|
755
755
|
claims?: {
|
|
@@ -777,15 +777,15 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
777
777
|
scope?: string | undefined;
|
|
778
778
|
username?: string | undefined;
|
|
779
779
|
audience?: string | undefined;
|
|
780
|
+
nonce?: string | undefined;
|
|
780
781
|
organization?: string | undefined;
|
|
781
|
-
state?: string | undefined;
|
|
782
782
|
redirect_uri?: string | undefined;
|
|
783
|
-
|
|
784
|
-
ui_locales?: string | undefined;
|
|
783
|
+
state?: string | undefined;
|
|
785
784
|
act_as?: string | undefined;
|
|
786
|
-
|
|
785
|
+
prompt?: string | undefined;
|
|
787
786
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
788
787
|
code_challenge?: string | undefined;
|
|
788
|
+
ui_locales?: string | undefined;
|
|
789
789
|
max_age?: number | undefined;
|
|
790
790
|
acr_values?: string | undefined;
|
|
791
791
|
claims?: {
|
|
@@ -1520,7 +1520,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1520
1520
|
output: {
|
|
1521
1521
|
keys: {
|
|
1522
1522
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
1523
|
-
kty: "
|
|
1523
|
+
kty: "RSA" | "EC" | "oct";
|
|
1524
1524
|
kid?: string | undefined;
|
|
1525
1525
|
use?: "sig" | "enc" | undefined;
|
|
1526
1526
|
n?: string | undefined;
|
|
@@ -19,15 +19,15 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
19
19
|
scope?: string | undefined;
|
|
20
20
|
username?: string | undefined;
|
|
21
21
|
audience?: string | undefined;
|
|
22
|
+
nonce?: string | undefined;
|
|
22
23
|
organization?: string | undefined;
|
|
23
|
-
state?: string | undefined;
|
|
24
24
|
redirect_uri?: string | undefined;
|
|
25
|
-
|
|
26
|
-
ui_locales?: string | undefined;
|
|
25
|
+
state?: string | undefined;
|
|
27
26
|
act_as?: string | undefined;
|
|
28
|
-
|
|
27
|
+
prompt?: string | undefined;
|
|
29
28
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
30
29
|
code_challenge?: string | undefined;
|
|
30
|
+
ui_locales?: string | undefined;
|
|
31
31
|
max_age?: number | undefined;
|
|
32
32
|
acr_values?: string | undefined;
|
|
33
33
|
claims?: {
|
|
@@ -55,15 +55,15 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
55
55
|
scope?: string | undefined;
|
|
56
56
|
username?: string | undefined;
|
|
57
57
|
audience?: string | undefined;
|
|
58
|
+
nonce?: string | undefined;
|
|
58
59
|
organization?: string | undefined;
|
|
59
|
-
state?: string | undefined;
|
|
60
60
|
redirect_uri?: string | undefined;
|
|
61
|
-
|
|
62
|
-
ui_locales?: string | undefined;
|
|
61
|
+
state?: string | undefined;
|
|
63
62
|
act_as?: string | undefined;
|
|
64
|
-
|
|
63
|
+
prompt?: string | undefined;
|
|
65
64
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
66
65
|
code_challenge?: string | undefined;
|
|
66
|
+
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: string | undefined;
|
|
69
69
|
claims?: {
|
|
@@ -9,7 +9,7 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
|
|
|
9
9
|
output: {
|
|
10
10
|
keys: {
|
|
11
11
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
12
|
-
kty: "
|
|
12
|
+
kty: "RSA" | "EC" | "oct";
|
|
13
13
|
kid?: string | undefined;
|
|
14
14
|
use?: "sig" | "enc" | undefined;
|
|
15
15
|
n?: string | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "email" | "passkey" | "
|
|
40
|
+
type: "email" | "passkey" | "push" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -28,7 +28,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
28
28
|
tenant_id: string;
|
|
29
29
|
event_type: string;
|
|
30
30
|
log_type: string;
|
|
31
|
-
category: "
|
|
31
|
+
category: "user_action" | "admin_action" | "system" | "api";
|
|
32
32
|
actor: {
|
|
33
33
|
type: "client_credentials" | "user" | "system" | "admin" | "api_key";
|
|
34
34
|
id?: string | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
output: {
|
|
15
|
-
name: "email" | "sms" | "otp" | "duo" | "
|
|
15
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
16
16
|
enabled: boolean;
|
|
17
17
|
trial_expired?: boolean | undefined;
|
|
18
18
|
}[];
|
|
@@ -167,7 +167,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
167
167
|
$get: {
|
|
168
168
|
input: {
|
|
169
169
|
param: {
|
|
170
|
-
factor_name: "email" | "sms" | "otp" | "duo" | "
|
|
170
|
+
factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
171
171
|
};
|
|
172
172
|
} & {
|
|
173
173
|
header: {
|
|
@@ -175,7 +175,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
177
|
output: {
|
|
178
|
-
name: "email" | "sms" | "otp" | "duo" | "
|
|
178
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
179
179
|
enabled: boolean;
|
|
180
180
|
trial_expired?: boolean | undefined;
|
|
181
181
|
};
|
|
@@ -188,7 +188,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
188
188
|
$put: {
|
|
189
189
|
input: {
|
|
190
190
|
param: {
|
|
191
|
-
factor_name: "email" | "sms" | "otp" | "duo" | "
|
|
191
|
+
factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
192
192
|
};
|
|
193
193
|
} & {
|
|
194
194
|
header: {
|
|
@@ -200,7 +200,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
200
200
|
};
|
|
201
201
|
};
|
|
202
202
|
output: {
|
|
203
|
-
name: "email" | "sms" | "otp" | "duo" | "
|
|
203
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
204
204
|
enabled: boolean;
|
|
205
205
|
trial_expired?: boolean | undefined;
|
|
206
206
|
};
|