authhero 8.22.1 → 8.23.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 +106 -106
- package/dist/authhero.d.ts +394 -279
- package/dist/authhero.mjs +9736 -9566
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +14 -6
- package/dist/types/helpers/backchannel-logout.d.ts +19 -0
- package/dist/types/helpers/client.d.ts +10 -1
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/index.d.ts +384 -278
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/authorize.d.ts +14 -14
- package/dist/types/routes/auth-api/index.d.ts +48 -44
- package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
- package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
- 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/auth-api/well-known.d.ts +6 -2
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +1 -1
- package/dist/types/routes/management-api/clients.d.ts +76 -24
- package/dist/types/routes/management-api/connections.d.ts +21 -21
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/flows.d.ts +7 -7
- package/dist/types/routes/management-api/forms.d.ts +126 -126
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +329 -227
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +2 -2
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/roles.d.ts +50 -0
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +28 -12
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- 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/IdToken.d.ts +2 -2
- package/dist/types/utils/jwks.d.ts +4 -4
- package/dist/types/variables.d.ts +8 -0
- package/package.json +6 -6
|
@@ -11,7 +11,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
11
11
|
client_id: string;
|
|
12
12
|
redirect_url?: string | undefined;
|
|
13
13
|
login_hint?: string | undefined;
|
|
14
|
-
screen_hint?: "
|
|
14
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
output: {};
|
|
@@ -23,7 +23,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
23
23
|
client_id: string;
|
|
24
24
|
redirect_url?: string | undefined;
|
|
25
25
|
login_hint?: string | undefined;
|
|
26
|
-
screen_hint?: "
|
|
26
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
output: {
|
|
@@ -71,17 +71,9 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
71
71
|
request_uri?: string | undefined;
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
|
-
output:
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
expires_in: number;
|
|
78
|
-
id_token?: string | undefined;
|
|
79
|
-
scope?: string | undefined;
|
|
80
|
-
state?: string | undefined;
|
|
81
|
-
refresh_token?: string | undefined;
|
|
82
|
-
};
|
|
83
|
-
outputFormat: "json";
|
|
84
|
-
status: 200;
|
|
74
|
+
output: {};
|
|
75
|
+
outputFormat: string;
|
|
76
|
+
status: 302;
|
|
85
77
|
} | {
|
|
86
78
|
input: {
|
|
87
79
|
query: {
|
|
@@ -113,9 +105,17 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
113
105
|
request_uri?: string | undefined;
|
|
114
106
|
};
|
|
115
107
|
};
|
|
116
|
-
output: {
|
|
117
|
-
|
|
118
|
-
|
|
108
|
+
output: string | {
|
|
109
|
+
access_token: string;
|
|
110
|
+
token_type: string;
|
|
111
|
+
expires_in: number;
|
|
112
|
+
id_token?: string | undefined;
|
|
113
|
+
scope?: string | undefined;
|
|
114
|
+
state?: string | undefined;
|
|
115
|
+
refresh_token?: string | undefined;
|
|
116
|
+
};
|
|
117
|
+
outputFormat: "json";
|
|
118
|
+
status: 200;
|
|
119
119
|
} | {
|
|
120
120
|
input: {
|
|
121
121
|
query: {
|
|
@@ -301,7 +301,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
301
301
|
scope?: string | undefined;
|
|
302
302
|
grant_types?: string[] | undefined;
|
|
303
303
|
response_types?: string[] | undefined;
|
|
304
|
-
token_endpoint_auth_method?: "
|
|
304
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
305
305
|
jwks_uri?: string | undefined;
|
|
306
306
|
jwks?: Record<string, unknown> | undefined;
|
|
307
307
|
software_id?: string | undefined;
|
|
@@ -390,7 +390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
390
390
|
scope?: string | undefined;
|
|
391
391
|
grant_types?: string[] | undefined;
|
|
392
392
|
response_types?: string[] | undefined;
|
|
393
|
-
token_endpoint_auth_method?: "
|
|
393
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
394
394
|
jwks_uri?: string | undefined;
|
|
395
395
|
jwks?: Record<string, unknown> | undefined;
|
|
396
396
|
software_id?: string | undefined;
|
|
@@ -447,7 +447,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
447
447
|
client_id: string;
|
|
448
448
|
redirect_url?: string | undefined;
|
|
449
449
|
login_hint?: string | undefined;
|
|
450
|
-
screen_hint?: "
|
|
450
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
451
451
|
};
|
|
452
452
|
};
|
|
453
453
|
output: {};
|
|
@@ -459,7 +459,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
459
459
|
client_id: string;
|
|
460
460
|
redirect_url?: string | undefined;
|
|
461
461
|
login_hint?: string | undefined;
|
|
462
|
-
screen_hint?: "
|
|
462
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
463
463
|
};
|
|
464
464
|
};
|
|
465
465
|
output: {
|
|
@@ -536,17 +536,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
536
536
|
request_uri?: string | undefined;
|
|
537
537
|
};
|
|
538
538
|
};
|
|
539
|
-
output:
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
expires_in: number;
|
|
543
|
-
id_token?: string | undefined;
|
|
544
|
-
scope?: string | undefined;
|
|
545
|
-
state?: string | undefined;
|
|
546
|
-
refresh_token?: string | undefined;
|
|
547
|
-
};
|
|
548
|
-
outputFormat: "json";
|
|
549
|
-
status: 200;
|
|
539
|
+
output: {};
|
|
540
|
+
outputFormat: string;
|
|
541
|
+
status: 302;
|
|
550
542
|
} | {
|
|
551
543
|
input: {
|
|
552
544
|
query: {
|
|
@@ -578,9 +570,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
578
570
|
request_uri?: string | undefined;
|
|
579
571
|
};
|
|
580
572
|
};
|
|
581
|
-
output: {
|
|
582
|
-
|
|
583
|
-
|
|
573
|
+
output: string | {
|
|
574
|
+
access_token: string;
|
|
575
|
+
token_type: string;
|
|
576
|
+
expires_in: number;
|
|
577
|
+
id_token?: string | undefined;
|
|
578
|
+
scope?: string | undefined;
|
|
579
|
+
state?: string | undefined;
|
|
580
|
+
refresh_token?: string | undefined;
|
|
581
|
+
};
|
|
582
|
+
outputFormat: "json";
|
|
583
|
+
status: 200;
|
|
584
584
|
} | {
|
|
585
585
|
input: {
|
|
586
586
|
query: {
|
|
@@ -734,21 +734,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
734
734
|
connection: "email";
|
|
735
735
|
client_id: string;
|
|
736
736
|
email: string;
|
|
737
|
-
send: "
|
|
737
|
+
send: "code" | "link";
|
|
738
738
|
authParams: {
|
|
739
|
+
username?: string | undefined;
|
|
740
|
+
state?: string | undefined;
|
|
741
|
+
audience?: string | undefined;
|
|
739
742
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
740
743
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
741
744
|
scope?: string | undefined;
|
|
742
|
-
|
|
745
|
+
organization?: string | undefined;
|
|
743
746
|
nonce?: string | undefined;
|
|
744
|
-
state?: string | undefined;
|
|
745
|
-
audience?: string | undefined;
|
|
746
|
-
code_challenge?: string | undefined;
|
|
747
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
748
|
-
redirect_uri?: string | undefined;
|
|
749
747
|
act_as?: string | undefined;
|
|
750
|
-
|
|
748
|
+
redirect_uri?: string | undefined;
|
|
751
749
|
prompt?: string | undefined;
|
|
750
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
751
|
+
code_challenge?: string | undefined;
|
|
752
752
|
ui_locales?: string | undefined;
|
|
753
753
|
max_age?: number | undefined;
|
|
754
754
|
acr_values?: string | undefined;
|
|
@@ -770,21 +770,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
770
770
|
client_id: string;
|
|
771
771
|
connection: "sms";
|
|
772
772
|
phone_number: string;
|
|
773
|
-
send: "
|
|
773
|
+
send: "code" | "link";
|
|
774
774
|
authParams: {
|
|
775
|
+
username?: string | undefined;
|
|
776
|
+
state?: string | undefined;
|
|
777
|
+
audience?: string | undefined;
|
|
775
778
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
776
779
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
777
780
|
scope?: string | undefined;
|
|
778
|
-
|
|
781
|
+
organization?: string | undefined;
|
|
779
782
|
nonce?: string | undefined;
|
|
780
|
-
state?: string | undefined;
|
|
781
|
-
audience?: string | undefined;
|
|
782
|
-
code_challenge?: string | undefined;
|
|
783
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
784
|
-
redirect_uri?: string | undefined;
|
|
785
783
|
act_as?: string | undefined;
|
|
786
|
-
|
|
784
|
+
redirect_uri?: string | undefined;
|
|
787
785
|
prompt?: string | undefined;
|
|
786
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
787
|
+
code_challenge?: string | undefined;
|
|
788
788
|
ui_locales?: string | undefined;
|
|
789
789
|
max_age?: number | undefined;
|
|
790
790
|
acr_values?: string | undefined;
|
|
@@ -916,14 +916,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
916
916
|
input: {
|
|
917
917
|
form: {
|
|
918
918
|
token: string;
|
|
919
|
-
token_type_hint?: "
|
|
919
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
920
920
|
client_id?: string | undefined;
|
|
921
921
|
client_secret?: string | undefined;
|
|
922
922
|
};
|
|
923
923
|
} & {
|
|
924
924
|
json: {
|
|
925
925
|
token: string;
|
|
926
|
-
token_type_hint?: "
|
|
926
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
927
927
|
client_id?: string | undefined;
|
|
928
928
|
client_secret?: string | undefined;
|
|
929
929
|
};
|
|
@@ -935,14 +935,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
935
935
|
input: {
|
|
936
936
|
form: {
|
|
937
937
|
token: string;
|
|
938
|
-
token_type_hint?: "
|
|
938
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
939
939
|
client_id?: string | undefined;
|
|
940
940
|
client_secret?: string | undefined;
|
|
941
941
|
};
|
|
942
942
|
} & {
|
|
943
943
|
json: {
|
|
944
944
|
token: string;
|
|
945
|
-
token_type_hint?: "
|
|
945
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
946
946
|
client_id?: string | undefined;
|
|
947
947
|
client_secret?: string | undefined;
|
|
948
948
|
};
|
|
@@ -957,14 +957,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
957
957
|
input: {
|
|
958
958
|
form: {
|
|
959
959
|
token: string;
|
|
960
|
-
token_type_hint?: "
|
|
960
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
961
961
|
client_id?: string | undefined;
|
|
962
962
|
client_secret?: string | undefined;
|
|
963
963
|
};
|
|
964
964
|
} & {
|
|
965
965
|
json: {
|
|
966
966
|
token: string;
|
|
967
|
-
token_type_hint?: "
|
|
967
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
968
968
|
client_id?: string | undefined;
|
|
969
969
|
client_secret?: string | undefined;
|
|
970
970
|
};
|
|
@@ -1499,8 +1499,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1499
1499
|
input: {};
|
|
1500
1500
|
output: {
|
|
1501
1501
|
keys: {
|
|
1502
|
-
alg: "
|
|
1503
|
-
kty: "
|
|
1502
|
+
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
1503
|
+
kty: "EC" | "RSA" | "oct";
|
|
1504
1504
|
kid?: string | undefined;
|
|
1505
1505
|
use?: "sig" | "enc" | undefined;
|
|
1506
1506
|
n?: string | undefined;
|
|
@@ -1544,6 +1544,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1544
1544
|
claims_parameter_supported?: boolean | undefined;
|
|
1545
1545
|
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
1546
1546
|
client_id_metadata_document_supported?: boolean | undefined;
|
|
1547
|
+
backchannel_logout_supported?: boolean | undefined;
|
|
1548
|
+
backchannel_logout_session_supported?: boolean | undefined;
|
|
1547
1549
|
};
|
|
1548
1550
|
outputFormat: "json";
|
|
1549
1551
|
status: 200;
|
|
@@ -1577,6 +1579,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1577
1579
|
claims_parameter_supported?: boolean | undefined;
|
|
1578
1580
|
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
1579
1581
|
client_id_metadata_document_supported?: boolean | undefined;
|
|
1582
|
+
backchannel_logout_supported?: boolean | undefined;
|
|
1583
|
+
backchannel_logout_session_supported?: boolean | undefined;
|
|
1580
1584
|
};
|
|
1581
1585
|
outputFormat: "json";
|
|
1582
1586
|
status: 200;
|
|
@@ -1689,7 +1693,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1689
1693
|
};
|
|
1690
1694
|
output: {};
|
|
1691
1695
|
outputFormat: string;
|
|
1692
|
-
status:
|
|
1696
|
+
status: 200;
|
|
1693
1697
|
} | {
|
|
1694
1698
|
input: {
|
|
1695
1699
|
query: {
|
|
@@ -1703,7 +1707,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1703
1707
|
};
|
|
1704
1708
|
output: {};
|
|
1705
1709
|
outputFormat: string;
|
|
1706
|
-
status:
|
|
1710
|
+
status: 302;
|
|
1707
1711
|
} | {
|
|
1708
1712
|
input: {
|
|
1709
1713
|
query: {
|
|
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
18
18
|
};
|
|
19
19
|
output: {};
|
|
20
20
|
outputFormat: string;
|
|
21
|
-
status:
|
|
21
|
+
status: 200;
|
|
22
22
|
} | {
|
|
23
23
|
input: {
|
|
24
24
|
query: {
|
|
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
32
32
|
};
|
|
33
33
|
output: {};
|
|
34
34
|
outputFormat: string;
|
|
35
|
-
status:
|
|
35
|
+
status: 302;
|
|
36
36
|
} | {
|
|
37
37
|
input: {
|
|
38
38
|
query: {
|
|
@@ -12,21 +12,21 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
12
12
|
connection: "email";
|
|
13
13
|
client_id: string;
|
|
14
14
|
email: string;
|
|
15
|
-
send: "
|
|
15
|
+
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
username?: string | undefined;
|
|
18
|
+
state?: string | undefined;
|
|
19
|
+
audience?: string | undefined;
|
|
17
20
|
response_type?: AuthorizationResponseType | undefined;
|
|
18
21
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
19
22
|
scope?: string | undefined;
|
|
20
|
-
|
|
23
|
+
organization?: string | undefined;
|
|
21
24
|
nonce?: string | undefined;
|
|
22
|
-
state?: string | undefined;
|
|
23
|
-
audience?: string | undefined;
|
|
24
|
-
code_challenge?: string | undefined;
|
|
25
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
26
|
-
redirect_uri?: string | undefined;
|
|
27
25
|
act_as?: string | undefined;
|
|
28
|
-
|
|
26
|
+
redirect_uri?: string | undefined;
|
|
29
27
|
prompt?: string | undefined;
|
|
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;
|
|
@@ -48,21 +48,21 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
48
48
|
client_id: string;
|
|
49
49
|
connection: "sms";
|
|
50
50
|
phone_number: string;
|
|
51
|
-
send: "
|
|
51
|
+
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
username?: string | undefined;
|
|
54
|
+
state?: string | undefined;
|
|
55
|
+
audience?: string | undefined;
|
|
53
56
|
response_type?: AuthorizationResponseType | undefined;
|
|
54
57
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
55
58
|
scope?: string | undefined;
|
|
56
|
-
|
|
59
|
+
organization?: string | undefined;
|
|
57
60
|
nonce?: string | undefined;
|
|
58
|
-
state?: string | undefined;
|
|
59
|
-
audience?: string | undefined;
|
|
60
|
-
code_challenge?: string | undefined;
|
|
61
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
62
|
-
redirect_uri?: string | undefined;
|
|
63
61
|
act_as?: string | undefined;
|
|
64
|
-
|
|
62
|
+
redirect_uri?: string | undefined;
|
|
65
63
|
prompt?: string | undefined;
|
|
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?: "
|
|
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?: "
|
|
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?: "access_token" | "refresh_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?: "access_token" | "refresh_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?: "access_token" | "refresh_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?: "access_token" | "refresh_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?: "access_token" | "refresh_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?: "access_token" | "refresh_token" | undefined;
|
|
61
61
|
client_id?: string | undefined;
|
|
62
62
|
client_secret?: string | undefined;
|
|
63
63
|
};
|
|
@@ -8,8 +8,8 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
|
|
|
8
8
|
input: {};
|
|
9
9
|
output: {
|
|
10
10
|
keys: {
|
|
11
|
-
alg: "
|
|
12
|
-
kty: "
|
|
11
|
+
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
12
|
+
kty: "EC" | "RSA" | "oct";
|
|
13
13
|
kid?: string | undefined;
|
|
14
14
|
use?: "sig" | "enc" | undefined;
|
|
15
15
|
n?: string | undefined;
|
|
@@ -53,6 +53,8 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
|
|
|
53
53
|
claims_parameter_supported?: boolean | undefined;
|
|
54
54
|
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
55
55
|
client_id_metadata_document_supported?: boolean | undefined;
|
|
56
|
+
backchannel_logout_supported?: boolean | undefined;
|
|
57
|
+
backchannel_logout_session_supported?: boolean | undefined;
|
|
56
58
|
};
|
|
57
59
|
outputFormat: "json";
|
|
58
60
|
status: 200;
|
|
@@ -86,6 +88,8 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
|
|
|
86
88
|
claims_parameter_supported?: boolean | undefined;
|
|
87
89
|
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
88
90
|
client_id_metadata_document_supported?: boolean | undefined;
|
|
91
|
+
backchannel_logout_supported?: boolean | undefined;
|
|
92
|
+
backchannel_logout_session_supported?: boolean | undefined;
|
|
89
93
|
};
|
|
90
94
|
outputFormat: "json";
|
|
91
95
|
status: 200;
|
|
@@ -663,7 +663,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
663
663
|
args: import("hono/utils/types").JSONValue[];
|
|
664
664
|
}[];
|
|
665
665
|
logs: {
|
|
666
|
-
level: "
|
|
666
|
+
level: "error" | "log" | "info" | "warn" | "debug";
|
|
667
667
|
message: string;
|
|
668
668
|
}[];
|
|
669
669
|
error?: string | undefined;
|
|
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
409
409
|
} & {
|
|
410
410
|
json: {
|
|
411
411
|
body?: string | undefined;
|
|
412
|
-
screen?: "
|
|
412
|
+
screen?: "password" | "identifier" | "signup" | "login" | undefined;
|
|
413
413
|
branding?: {
|
|
414
414
|
colors?: {
|
|
415
415
|
primary: string;
|