@absolutejs/auth 0.55.6 → 0.55.7

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.
Files changed (215) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.js +120 -15
  3. package/dist/index.js.map +6 -5
  4. package/dist/server.js +119 -15
  5. package/dist/server.js.map +6 -5
  6. package/package.json +1 -1
  7. package/dist/abuse/captcha.d.ts +0 -11
  8. package/dist/abuse/config.d.ts +0 -29
  9. package/dist/actions.d.ts +0 -27
  10. package/dist/adaptive/config.d.ts +0 -34
  11. package/dist/adaptive/fingerprint.d.ts +0 -2
  12. package/dist/adaptive/inMemoryStores.d.ts +0 -3
  13. package/dist/adaptive/postgresStores.d.ts +0 -245
  14. package/dist/adaptive/types.d.ts +0 -62
  15. package/dist/agents/config.d.ts +0 -44
  16. package/dist/agents/context.d.ts +0 -46
  17. package/dist/agents/idJag.d.ts +0 -49
  18. package/dist/agents/inMemoryStores.d.ts +0 -4
  19. package/dist/agents/oidcAdapter.d.ts +0 -12
  20. package/dist/agents/postgresStores.d.ts +0 -569
  21. package/dist/agents/principal.d.ts +0 -4
  22. package/dist/agents/registration.d.ts +0 -162
  23. package/dist/agents/registrationClient.d.ts +0 -50
  24. package/dist/agents/routes.d.ts +0 -321
  25. package/dist/agents/types.d.ts +0 -129
  26. package/dist/apikeys/config.d.ts +0 -64
  27. package/dist/apikeys/inMemoryStores.d.ts +0 -4
  28. package/dist/apikeys/postgresStores.d.ts +0 -359
  29. package/dist/apikeys/routes.d.ts +0 -83
  30. package/dist/apikeys/types.d.ts +0 -53
  31. package/dist/audit/config.d.ts +0 -9
  32. package/dist/audit/export.d.ts +0 -2
  33. package/dist/audit/inMemoryAuditStore.d.ts +0 -2
  34. package/dist/audit/integrity.d.ts +0 -19
  35. package/dist/audit/postgresAuditStore.d.ts +0 -116
  36. package/dist/audit/siem.d.ts +0 -11
  37. package/dist/audit/types.d.ts +0 -19
  38. package/dist/audit/wrap.d.ts +0 -9
  39. package/dist/authContext.d.ts +0 -193
  40. package/dist/authorization/config.d.ts +0 -19
  41. package/dist/authorization/protectPermission.d.ts +0 -52
  42. package/dist/compliance/cipher.d.ts +0 -5
  43. package/dist/compliance/config.d.ts +0 -18
  44. package/dist/compliance/redaction.d.ts +0 -8
  45. package/dist/compliance/routes.d.ts +0 -89
  46. package/dist/constants.d.ts +0 -10
  47. package/dist/credentials/backgroundOps.d.ts +0 -45
  48. package/dist/credentials/config.d.ts +0 -68
  49. package/dist/credentials/emailValidation.d.ts +0 -9
  50. package/dist/credentials/emailVerification.d.ts +0 -83
  51. package/dist/credentials/import.d.ts +0 -34
  52. package/dist/credentials/inMemoryCredentialStore.d.ts +0 -2
  53. package/dist/credentials/legacyHashers.d.ts +0 -3
  54. package/dist/credentials/login.d.ts +0 -76
  55. package/dist/credentials/passwordPolicy.d.ts +0 -15
  56. package/dist/credentials/passwordReset.d.ts +0 -87
  57. package/dist/credentials/postgresCredentialStore.d.ts +0 -235
  58. package/dist/credentials/register.d.ts +0 -54
  59. package/dist/credentials/routes.d.ts +0 -201
  60. package/dist/credentials/types.d.ts +0 -26
  61. package/dist/crypto.d.ts +0 -32
  62. package/dist/errors.d.ts +0 -12
  63. package/dist/federation/tokenStore.d.ts +0 -29
  64. package/dist/fga/config.d.ts +0 -53
  65. package/dist/fga/inMemoryStores.d.ts +0 -3
  66. package/dist/fga/postgresStores.d.ts +0 -116
  67. package/dist/fga/redisCheckCache.d.ts +0 -11
  68. package/dist/fga/schema.d.ts +0 -2
  69. package/dist/fga/types.d.ts +0 -28
  70. package/dist/htmx/configuredRoutes.d.ts +0 -542
  71. package/dist/htmx/renderers.d.ts +0 -8
  72. package/dist/htmx/routes.d.ts +0 -514
  73. package/dist/htmx/types.d.ts +0 -129
  74. package/dist/linkedProviders/inMemoryStores.d.ts +0 -9
  75. package/dist/linkedProviders/neonStores.d.ts +0 -484
  76. package/dist/linkedProviders/oauthResolver.d.ts +0 -9
  77. package/dist/linkedProviders/resolver.d.ts +0 -22
  78. package/dist/lockout/config.d.ts +0 -17
  79. package/dist/lockout/inMemoryLockoutStore.d.ts +0 -2
  80. package/dist/lockout/postgresLockoutStore.d.ts +0 -71
  81. package/dist/lockout/redisLockoutStore.d.ts +0 -3
  82. package/dist/lockout/types.d.ts +0 -12
  83. package/dist/mfa/backupCodes.d.ts +0 -5
  84. package/dist/mfa/challenge.d.ts +0 -70
  85. package/dist/mfa/config.d.ts +0 -50
  86. package/dist/mfa/gate.d.ts +0 -2
  87. package/dist/mfa/inMemoryMfaStore.d.ts +0 -2
  88. package/dist/mfa/management.d.ts +0 -106
  89. package/dist/mfa/postgresMfaStore.d.ts +0 -206
  90. package/dist/mfa/rotation.d.ts +0 -17
  91. package/dist/mfa/routes.d.ts +0 -234
  92. package/dist/mfa/secret.d.ts +0 -2
  93. package/dist/mfa/sms.d.ts +0 -105
  94. package/dist/mfa/totp.d.ts +0 -91
  95. package/dist/mfa/types.d.ts +0 -23
  96. package/dist/migrations/generate.d.ts +0 -2
  97. package/dist/migrations/index.d.ts +0 -5
  98. package/dist/migrations/runner.d.ts +0 -13
  99. package/dist/migrations/types.d.ts +0 -14
  100. package/dist/oidc/clientAuth.d.ts +0 -19
  101. package/dist/oidc/clientIdMetadata.d.ts +0 -32
  102. package/dist/oidc/config.d.ts +0 -295
  103. package/dist/oidc/dpop.d.ts +0 -23
  104. package/dist/oidc/inMemoryStores.d.ts +0 -11
  105. package/dist/oidc/inMemoryVciStores.d.ts +0 -3
  106. package/dist/oidc/jar.d.ts +0 -14
  107. package/dist/oidc/keys.d.ts +0 -25
  108. package/dist/oidc/logout.d.ts +0 -38
  109. package/dist/oidc/mtls.d.ts +0 -11
  110. package/dist/oidc/par.d.ts +0 -28
  111. package/dist/oidc/postgresStores.d.ts +0 -1187
  112. package/dist/oidc/registration.d.ts +0 -138
  113. package/dist/oidc/routes.d.ts +0 -568
  114. package/dist/oidc/types.d.ts +0 -143
  115. package/dist/oidc/userinfo.d.ts +0 -21
  116. package/dist/oidc/vci.d.ts +0 -159
  117. package/dist/oidc/vciRoutes.d.ts +0 -92
  118. package/dist/organizations/config.d.ts +0 -46
  119. package/dist/organizations/inMemoryOrganizationStore.d.ts +0 -2
  120. package/dist/organizations/operations.d.ts +0 -39
  121. package/dist/organizations/postgresOrganizationStore.d.ts +0 -340
  122. package/dist/organizations/routes.d.ts +0 -299
  123. package/dist/organizations/types.d.ts +0 -45
  124. package/dist/passwordless/config.d.ts +0 -43
  125. package/dist/passwordless/inMemoryPasswordlessTokenStore.d.ts +0 -2
  126. package/dist/passwordless/postgresPasswordlessTokenStore.d.ts +0 -56
  127. package/dist/passwordless/routes.d.ts +0 -163
  128. package/dist/passwordless/types.d.ts +0 -9
  129. package/dist/pluginIdentity.d.ts +0 -2
  130. package/dist/portal/config.d.ts +0 -34
  131. package/dist/portal/inMemorySetupSessionStore.d.ts +0 -2
  132. package/dist/portal/operations.d.ts +0 -10
  133. package/dist/portal/postgresSetupSessionStore.d.ts +0 -116
  134. package/dist/portal/routes.d.ts +0 -160
  135. package/dist/portal/types.d.ts +0 -16
  136. package/dist/providers/clients.d.ts +0 -1818
  137. package/dist/providersFromEnv.d.ts +0 -19
  138. package/dist/roles/config.d.ts +0 -27
  139. package/dist/roles/inMemoryRoleStore.d.ts +0 -2
  140. package/dist/roles/operations.d.ts +0 -8
  141. package/dist/roles/postgresRoleStore.d.ts +0 -86
  142. package/dist/roles/resolver.d.ts +0 -17
  143. package/dist/roles/routes.d.ts +0 -106
  144. package/dist/roles/types.d.ts +0 -14
  145. package/dist/routes/authorize.d.ts +0 -102
  146. package/dist/routes/callback.d.ts +0 -64
  147. package/dist/routes/profile.d.ts +0 -70
  148. package/dist/routes/protectRoute.d.ts +0 -51
  149. package/dist/routes/refresh.d.ts +0 -74
  150. package/dist/routes/revoke.d.ts +0 -73
  151. package/dist/routes/sessions.d.ts +0 -103
  152. package/dist/routes/signout.d.ts +0 -70
  153. package/dist/routes/stepUp.d.ts +0 -48
  154. package/dist/routes/userStatus.d.ts +0 -72
  155. package/dist/scim/config.d.ts +0 -57
  156. package/dist/scim/extensions.d.ts +0 -30
  157. package/dist/scim/inMemoryScimTokenStore.d.ts +0 -2
  158. package/dist/scim/postgresScimTokenStore.d.ts +0 -86
  159. package/dist/scim/routes.d.ts +0 -366
  160. package/dist/scim/serialize.d.ts +0 -83
  161. package/dist/scim/types.d.ts +0 -54
  162. package/dist/session/access.d.ts +0 -33
  163. package/dist/session/anonymous.d.ts +0 -12
  164. package/dist/session/cleanup.d.ts +0 -45
  165. package/dist/session/impersonation.d.ts +0 -34
  166. package/dist/session/inMemoryStore.d.ts +0 -7
  167. package/dist/session/multiSession.d.ts +0 -27
  168. package/dist/session/neonStore.d.ts +0 -513
  169. package/dist/session/promote.d.ts +0 -23
  170. package/dist/session/redisStore.d.ts +0 -6
  171. package/dist/session/sessionsConfig.d.ts +0 -9
  172. package/dist/session/state.d.ts +0 -33
  173. package/dist/session/types.d.ts +0 -21
  174. package/dist/session/userSessions.d.ts +0 -19
  175. package/dist/sso/config.d.ts +0 -149
  176. package/dist/sso/discoveryRoute.d.ts +0 -63
  177. package/dist/sso/inMemorySamlServiceProviderStore.d.ts +0 -2
  178. package/dist/sso/inMemorySsoConnectionStore.d.ts +0 -2
  179. package/dist/sso/oidcRoutes.d.ts +0 -98
  180. package/dist/sso/postgresSamlServiceProviderStore.d.ts +0 -101
  181. package/dist/sso/postgresSsoConnectionStore.d.ts +0 -116
  182. package/dist/sso/samlIdpRoutes.d.ts +0 -139
  183. package/dist/sso/samlRoutes.d.ts +0 -179
  184. package/dist/sso/types.d.ts +0 -53
  185. package/dist/stores/postgres.d.ts +0 -5
  186. package/dist/stores/redis.d.ts +0 -5
  187. package/dist/telemetry/tracing.d.ts +0 -15
  188. package/dist/tenancy.d.ts +0 -9
  189. package/dist/typeGuards.d.ts +0 -6
  190. package/dist/typebox.d.ts +0 -4
  191. package/dist/types.d.ts +0 -421
  192. package/dist/utils.d.ts +0 -45
  193. package/dist/vault/config.d.ts +0 -20
  194. package/dist/vault/inMemoryVaultStore.d.ts +0 -2
  195. package/dist/vault/postgresVaultStore.d.ts +0 -86
  196. package/dist/vault/types.d.ts +0 -14
  197. package/dist/vc/inMemoryVpStores.d.ts +0 -2
  198. package/dist/vc/openid4vp.d.ts +0 -82
  199. package/dist/vc/postgresVcStores.d.ts +0 -300
  200. package/dist/vc/sdJwt.d.ts +0 -37
  201. package/dist/vc/statusList.d.ts +0 -29
  202. package/dist/vc/statusListRoutes.d.ts +0 -63
  203. package/dist/vc/vpRoutes.d.ts +0 -120
  204. package/dist/webauthn/adapter.d.ts +0 -59
  205. package/dist/webauthn/config.d.ts +0 -36
  206. package/dist/webauthn/inMemoryWebAuthnCredentialStore.d.ts +0 -2
  207. package/dist/webauthn/postgresWebAuthnCredentialStore.d.ts +0 -146
  208. package/dist/webauthn/routes.d.ts +0 -155
  209. package/dist/webauthn/types.d.ts +0 -17
  210. package/dist/webhooks/config.d.ts +0 -34
  211. package/dist/webhooks/dispatcher.d.ts +0 -3
  212. package/dist/webhooks/inMemoryStore.d.ts +0 -2
  213. package/dist/webhooks/postgresStore.d.ts +0 -116
  214. package/dist/webhooks/sign.d.ts +0 -11
  215. package/dist/webhooks/types.d.ts +0 -25
@@ -1,138 +0,0 @@
1
- import type { ClientRegistrationTokenStore, InitialAccessTokenStore, OAuthClient, OAuthClientStore } from './types';
2
- export type ClientRegistrationMetadata = {
3
- backchannel_logout_uri?: string;
4
- client_name?: string;
5
- grant_types?: string[];
6
- jwks?: JsonWebKey[];
7
- jwks_uri?: string;
8
- post_logout_redirect_uris?: string[];
9
- redirect_uris?: string[];
10
- scope?: string;
11
- };
12
- export type ClientRegistrationDecision = {
13
- allow: false;
14
- denyReason: string;
15
- } | {
16
- allow: true;
17
- transform?: Partial<OAuthClient>;
18
- };
19
- export type OnClientRegistration = (context: {
20
- metadata: ClientRegistrationMetadata;
21
- }) => ClientRegistrationDecision | Promise<ClientRegistrationDecision>;
22
- export type OnClientRegistered = (context: {
23
- client: OAuthClient;
24
- metadata: ClientRegistrationMetadata;
25
- }) => void | Promise<void>;
26
- export type RegisterClientResult = {
27
- body: {
28
- error: string;
29
- error_description?: string;
30
- };
31
- ok: false;
32
- status: 400 | 401 | 403 | 501;
33
- } | {
34
- body: ClientRegistrationMetadata & {
35
- client_id: string;
36
- registration_access_token: string;
37
- registration_client_uri: string;
38
- };
39
- ok: true;
40
- };
41
- export declare const deleteRegisteredClient: ({ authorization, clientId, clientStore, registrationTokenStore }: {
42
- authorization: string | undefined;
43
- clientId: string;
44
- clientStore: OAuthClientStore;
45
- registrationTokenStore: ClientRegistrationTokenStore;
46
- }) => Promise<{
47
- readonly body: {
48
- readonly error: "unsupported_response_type";
49
- };
50
- readonly status: 501;
51
- } | {
52
- readonly body: {
53
- readonly error: "invalid_token";
54
- };
55
- readonly status: 401;
56
- } | {
57
- readonly status: 204;
58
- readonly body?: undefined;
59
- }>;
60
- export declare const getRegisteredClient: ({ authorization, clientId, clientStore, registrationTokenStore }: {
61
- authorization: string | undefined;
62
- clientId: string;
63
- clientStore: OAuthClientStore;
64
- registrationTokenStore: ClientRegistrationTokenStore;
65
- }) => Promise<{
66
- readonly body: {
67
- readonly error: "invalid_token";
68
- };
69
- readonly status: 401;
70
- } | {
71
- readonly body: {
72
- readonly error: "invalid_client";
73
- };
74
- readonly status: 404;
75
- } | {
76
- readonly body: ClientRegistrationMetadata & {
77
- client_id: string;
78
- };
79
- readonly status: 200;
80
- }>;
81
- export declare const registerClient: ({ clientStore, initialAccessTokenStore, metadata, onClientRegistration, onClientRegistered, presentedInitialAccessToken, registrationBaseUrl, registrationTokenStore }: {
82
- clientStore: OAuthClientStore;
83
- initialAccessTokenStore?: InitialAccessTokenStore;
84
- metadata: ClientRegistrationMetadata;
85
- onClientRegistration?: OnClientRegistration;
86
- onClientRegistered?: OnClientRegistered;
87
- presentedInitialAccessToken?: string;
88
- registrationBaseUrl: string;
89
- registrationTokenStore: ClientRegistrationTokenStore;
90
- }) => Promise<RegisterClientResult>;
91
- export declare const updateRegisteredClient: ({ authorization, clientId, clientStore, metadata, onClientRegistration, registrationTokenStore }: {
92
- authorization: string | undefined;
93
- clientId: string;
94
- clientStore: OAuthClientStore;
95
- metadata: ClientRegistrationMetadata;
96
- onClientRegistration?: OnClientRegistration;
97
- registrationTokenStore: ClientRegistrationTokenStore;
98
- }) => Promise<{
99
- readonly body: {
100
- readonly error: "unsupported_response_type";
101
- readonly error_description?: undefined;
102
- };
103
- readonly status: 501;
104
- } | {
105
- readonly body: {
106
- readonly error: "invalid_token";
107
- readonly error_description?: undefined;
108
- };
109
- readonly status: 401;
110
- } | {
111
- readonly body: {
112
- readonly error: "invalid_client_metadata";
113
- readonly error_description: string;
114
- };
115
- readonly status: 403;
116
- } | {
117
- readonly body: {
118
- readonly error: "invalid_redirect_uri";
119
- readonly error_description?: undefined;
120
- };
121
- readonly status: 400;
122
- } | {
123
- readonly body: {
124
- readonly registration_access_token: string;
125
- readonly backchannel_logout_uri?: string;
126
- readonly client_name?: string;
127
- readonly grant_types?: string[];
128
- readonly jwks?: JsonWebKey[];
129
- readonly jwks_uri?: string;
130
- readonly post_logout_redirect_uris?: string[];
131
- readonly redirect_uris?: string[];
132
- readonly scope?: string;
133
- readonly client_id: string;
134
- readonly error?: undefined;
135
- readonly error_description?: undefined;
136
- };
137
- readonly status: 200;
138
- }>;
@@ -1,568 +0,0 @@
1
- import { Elysia } from 'elysia';
2
- import type { AuthSessionStore } from '../session/types';
3
- import { type OidcProviderConfig } from './config';
4
- export declare const oidcProviderRoutes: <UserType>(config: OidcProviderConfig<UserType> & {
5
- authSessionStore?: AuthSessionStore<UserType>;
6
- }) => Elysia<"", {
7
- decorator: {};
8
- store: {
9
- session: import("..").SessionRecord<UserType>;
10
- unregisteredSession: import("..").UnregisteredSessionRecord;
11
- };
12
- derive: {};
13
- resolve: {};
14
- }, {
15
- typebox: {};
16
- error: {};
17
- }, {
18
- schema: {};
19
- standaloneSchema: {};
20
- macro: {};
21
- macroFn: {};
22
- parser: {};
23
- response: {};
24
- }, {
25
- [x: string]: {
26
- get: {
27
- body: unknown;
28
- params: {};
29
- query: {
30
- client_id?: string | undefined;
31
- scope?: string | undefined;
32
- nonce?: string | undefined;
33
- claims?: string | undefined;
34
- request?: string | undefined;
35
- redirect_uri?: string | undefined;
36
- acr_values?: string | undefined;
37
- code_challenge?: string | undefined;
38
- code_challenge_method?: string | undefined;
39
- id_token_hint?: string | undefined;
40
- max_age?: string | undefined;
41
- prompt?: string | undefined;
42
- request_uri?: string | undefined;
43
- response_mode?: string | undefined;
44
- response_type?: string | undefined;
45
- state?: string | undefined;
46
- };
47
- headers: unknown;
48
- response: {
49
- 200: Response;
50
- 422: {
51
- type: "validation";
52
- on: string;
53
- summary?: string;
54
- message?: string;
55
- found?: unknown;
56
- property?: string;
57
- expected?: string;
58
- };
59
- };
60
- };
61
- };
62
- } & {
63
- [x: string]: {
64
- post: {
65
- body: {
66
- client_id?: string | undefined;
67
- scope?: string | undefined;
68
- audience?: string | undefined;
69
- resource?: string | undefined;
70
- refresh_token?: string | undefined;
71
- device_code?: string | undefined;
72
- auth_req_id?: string | undefined;
73
- grant_type?: string | undefined;
74
- claim_token?: string | undefined;
75
- assertion?: string | undefined;
76
- client_secret?: string | undefined;
77
- code?: string | undefined;
78
- redirect_uri?: string | undefined;
79
- client_assertion?: string | undefined;
80
- client_assertion_type?: string | undefined;
81
- code_verifier?: string | undefined;
82
- 'pre-authorized_code'?: string | undefined;
83
- subject_token?: string | undefined;
84
- subject_token_type?: string | undefined;
85
- };
86
- params: {};
87
- query: unknown;
88
- headers: unknown;
89
- response: {
90
- 200: Response;
91
- 422: {
92
- type: "validation";
93
- on: string;
94
- summary?: string;
95
- message?: string;
96
- found?: unknown;
97
- property?: string;
98
- expected?: string;
99
- };
100
- };
101
- };
102
- };
103
- } & {
104
- [x: string]: {
105
- post: {
106
- body: {
107
- client_id?: string | undefined;
108
- scope?: string | undefined;
109
- nonce?: string | undefined;
110
- audience?: string | undefined;
111
- claims?: string | undefined;
112
- resource?: string | undefined;
113
- client_secret?: string | undefined;
114
- redirect_uri?: string | undefined;
115
- acr_values?: string | undefined;
116
- code_challenge?: string | undefined;
117
- code_challenge_method?: string | undefined;
118
- response_type?: string | undefined;
119
- state?: string | undefined;
120
- client_assertion?: string | undefined;
121
- client_assertion_type?: string | undefined;
122
- };
123
- params: {};
124
- query: unknown;
125
- headers: {
126
- authorization?: string | undefined;
127
- };
128
- response: {
129
- 200: Response;
130
- 422: {
131
- type: "validation";
132
- on: string;
133
- summary?: string;
134
- message?: string;
135
- found?: unknown;
136
- property?: string;
137
- expected?: string;
138
- };
139
- };
140
- };
141
- };
142
- } & {
143
- [x: string]: {
144
- post: {
145
- body: {
146
- client_id?: string | undefined;
147
- client_secret?: string | undefined;
148
- token_type_hint?: string | undefined;
149
- token: string;
150
- };
151
- params: {};
152
- query: unknown;
153
- headers: {
154
- authorization?: string | undefined;
155
- };
156
- response: {
157
- 200: Response;
158
- 422: {
159
- type: "validation";
160
- on: string;
161
- summary?: string;
162
- message?: string;
163
- found?: unknown;
164
- property?: string;
165
- expected?: string;
166
- };
167
- };
168
- };
169
- };
170
- } & {
171
- [x: string]: {
172
- post: {
173
- body: {
174
- client_id?: string | undefined;
175
- client_secret?: string | undefined;
176
- token_type_hint?: string | undefined;
177
- token: string;
178
- };
179
- params: {};
180
- query: unknown;
181
- headers: {
182
- authorization?: string | undefined;
183
- };
184
- response: {
185
- 200: Response;
186
- 422: {
187
- type: "validation";
188
- on: string;
189
- summary?: string;
190
- message?: string;
191
- found?: unknown;
192
- property?: string;
193
- expected?: string;
194
- };
195
- };
196
- };
197
- };
198
- } & {
199
- [x: string]: {
200
- post: {
201
- body: {
202
- client_id?: string | undefined;
203
- scope?: string | undefined;
204
- client_secret?: string | undefined;
205
- login_hint?: string | undefined;
206
- binding_message?: string | undefined;
207
- };
208
- params: {};
209
- query: unknown;
210
- headers: {
211
- authorization?: string | undefined;
212
- };
213
- response: {
214
- 200: Response;
215
- 422: {
216
- type: "validation";
217
- on: string;
218
- summary?: string;
219
- message?: string;
220
- found?: unknown;
221
- property?: string;
222
- expected?: string;
223
- };
224
- };
225
- };
226
- };
227
- } & {
228
- [x: string]: {
229
- post: {
230
- body: {
231
- client_id?: string | undefined;
232
- scope?: string | undefined;
233
- client_secret?: string | undefined;
234
- };
235
- params: {};
236
- query: unknown;
237
- headers: {
238
- authorization?: string | undefined;
239
- };
240
- response: {
241
- 200: Response;
242
- 422: {
243
- type: "validation";
244
- on: string;
245
- summary?: string;
246
- message?: string;
247
- found?: unknown;
248
- property?: string;
249
- expected?: string;
250
- };
251
- };
252
- };
253
- };
254
- } & {
255
- [x: string]: {
256
- post: {
257
- body: {
258
- action?: "deny" | "approve" | undefined;
259
- user_code: string;
260
- };
261
- params: {};
262
- query: unknown;
263
- headers: unknown;
264
- response: {
265
- 200: Response;
266
- 422: {
267
- type: "validation";
268
- on: string;
269
- summary?: string;
270
- message?: string;
271
- found?: unknown;
272
- property?: string;
273
- expected?: string;
274
- };
275
- };
276
- };
277
- };
278
- } & {
279
- [x: string]: {
280
- get: {
281
- body: unknown;
282
- params: {};
283
- query: {
284
- client_id?: string | undefined;
285
- id_token_hint?: string | undefined;
286
- state?: string | undefined;
287
- post_logout_redirect_uri?: string | undefined;
288
- };
289
- headers: unknown;
290
- response: {
291
- 200: Response;
292
- 422: {
293
- type: "validation";
294
- on: string;
295
- summary?: string;
296
- message?: string;
297
- found?: unknown;
298
- property?: string;
299
- expected?: string;
300
- };
301
- };
302
- };
303
- };
304
- } & {
305
- [x: string]: {
306
- post: {
307
- body: {
308
- client_id?: string | undefined;
309
- id_token_hint?: string | undefined;
310
- state?: string | undefined;
311
- post_logout_redirect_uri?: string | undefined;
312
- };
313
- params: {};
314
- query: unknown;
315
- headers: unknown;
316
- response: {
317
- 200: Response;
318
- 422: {
319
- type: "validation";
320
- on: string;
321
- summary?: string;
322
- message?: string;
323
- found?: unknown;
324
- property?: string;
325
- expected?: string;
326
- };
327
- };
328
- };
329
- };
330
- } & {
331
- [x: string]: {
332
- post: {
333
- body: {
334
- jwks?: any;
335
- scope?: string | undefined;
336
- backchannel_logout_uri?: string | undefined;
337
- client_name?: string | undefined;
338
- grant_types?: string[] | undefined;
339
- jwks_uri?: string | undefined;
340
- post_logout_redirect_uris?: string[] | undefined;
341
- redirect_uris?: string[] | undefined;
342
- };
343
- params: {};
344
- query: unknown;
345
- headers: {
346
- authorization?: string | undefined;
347
- };
348
- response: {
349
- 200: Response;
350
- 422: {
351
- type: "validation";
352
- on: string;
353
- summary?: string;
354
- message?: string;
355
- found?: unknown;
356
- property?: string;
357
- expected?: string;
358
- };
359
- };
360
- };
361
- };
362
- } & {
363
- [x: string]: {
364
- ":clientId": {
365
- get: {
366
- body: unknown;
367
- params: {
368
- clientId: string;
369
- };
370
- query: unknown;
371
- headers: {
372
- authorization?: string | undefined;
373
- };
374
- response: {
375
- 200: Response;
376
- 422: {
377
- type: "validation";
378
- on: string;
379
- summary?: string;
380
- message?: string;
381
- found?: unknown;
382
- property?: string;
383
- expected?: string;
384
- };
385
- };
386
- };
387
- };
388
- };
389
- } & {
390
- [x: string]: {
391
- ":clientId": {
392
- put: {
393
- body: {
394
- jwks?: any;
395
- scope?: string | undefined;
396
- backchannel_logout_uri?: string | undefined;
397
- client_name?: string | undefined;
398
- grant_types?: string[] | undefined;
399
- jwks_uri?: string | undefined;
400
- post_logout_redirect_uris?: string[] | undefined;
401
- redirect_uris?: string[] | undefined;
402
- };
403
- params: {
404
- clientId: string;
405
- };
406
- query: unknown;
407
- headers: {
408
- authorization?: string | undefined;
409
- };
410
- response: {
411
- 200: Response;
412
- 422: {
413
- type: "validation";
414
- on: string;
415
- summary?: string;
416
- message?: string;
417
- found?: unknown;
418
- property?: string;
419
- expected?: string;
420
- };
421
- };
422
- };
423
- };
424
- };
425
- } & {
426
- [x: string]: {
427
- ":clientId": {
428
- delete: {
429
- body: unknown;
430
- params: {
431
- clientId: string;
432
- };
433
- query: unknown;
434
- headers: {
435
- authorization?: string | undefined;
436
- };
437
- response: {
438
- 200: Response;
439
- 422: {
440
- type: "validation";
441
- on: string;
442
- summary?: string;
443
- message?: string;
444
- found?: unknown;
445
- property?: string;
446
- expected?: string;
447
- };
448
- };
449
- };
450
- };
451
- };
452
- } & {
453
- [x: string]: {
454
- get: {
455
- body: unknown;
456
- params: {};
457
- query: unknown;
458
- headers: {
459
- authorization?: string | undefined;
460
- };
461
- response: {
462
- 200: Response;
463
- 422: {
464
- type: "validation";
465
- on: string;
466
- summary?: string;
467
- message?: string;
468
- found?: unknown;
469
- property?: string;
470
- expected?: string;
471
- };
472
- };
473
- };
474
- };
475
- } & {
476
- [x: string]: {
477
- post: {
478
- body: {
479
- access_token?: string | undefined;
480
- };
481
- params: {};
482
- query: unknown;
483
- headers: {
484
- authorization?: string | undefined;
485
- };
486
- response: {
487
- 200: Response;
488
- 422: {
489
- type: "validation";
490
- on: string;
491
- summary?: string;
492
- message?: string;
493
- found?: unknown;
494
- property?: string;
495
- expected?: string;
496
- };
497
- };
498
- };
499
- };
500
- } & {
501
- [x: string]: {
502
- get: {
503
- body: unknown;
504
- params: {};
505
- query: unknown;
506
- headers: unknown;
507
- response: {
508
- 200: {
509
- keys: {
510
- alg: string;
511
- crv: string | undefined;
512
- kid: string;
513
- kty: string | undefined;
514
- use: string;
515
- x: string | undefined;
516
- y: string | undefined;
517
- }[];
518
- };
519
- };
520
- };
521
- };
522
- } & {
523
- ".well-known": {
524
- "openid-configuration": {
525
- get: {
526
- body: unknown;
527
- params: {};
528
- query: unknown;
529
- headers: unknown;
530
- response: {
531
- 200: Record<string, unknown>;
532
- };
533
- };
534
- };
535
- };
536
- } & {
537
- ".well-known": {
538
- "oauth-authorization-server": {
539
- get: {
540
- body: unknown;
541
- params: {};
542
- query: unknown;
543
- headers: unknown;
544
- response: {
545
- 200: Record<string, unknown>;
546
- };
547
- };
548
- };
549
- };
550
- }, {
551
- derive: {};
552
- resolve: {};
553
- schema: {};
554
- standaloneSchema: {};
555
- response: {};
556
- }, {
557
- derive: {};
558
- resolve: {};
559
- schema: {};
560
- standaloneSchema: {};
561
- response: {};
562
- } & {
563
- derive: {};
564
- resolve: {};
565
- schema: {};
566
- standaloneSchema: {};
567
- response: {};
568
- }>;