@absolutejs/auth 0.65.1 → 0.65.3

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 (265) hide show
  1. package/dist/abuse/captcha.d.ts +11 -0
  2. package/dist/abuse/config.d.ts +29 -0
  3. package/dist/actions.d.ts +27 -0
  4. package/dist/adaptive/config.d.ts +34 -0
  5. package/dist/adaptive/fingerprint.d.ts +2 -0
  6. package/dist/adaptive/inMemoryStores.d.ts +3 -0
  7. package/dist/adaptive/postgresStores.d.ts +245 -0
  8. package/dist/adaptive/types.d.ts +62 -0
  9. package/dist/agents/config.d.ts +49 -0
  10. package/dist/agents/context.d.ts +46 -0
  11. package/dist/agents/idJag.d.ts +49 -0
  12. package/dist/agents/inMemoryStores.d.ts +4 -0
  13. package/dist/agents/index.d.ts +13 -0
  14. package/dist/agents/oauthGuide.d.ts +18 -0
  15. package/dist/agents/oidcAdapter.d.ts +20 -0
  16. package/dist/agents/postgresStores.d.ts +1176 -0
  17. package/dist/agents/principal.d.ts +4 -0
  18. package/dist/agents/registration.d.ts +162 -0
  19. package/dist/agents/registrationClient.d.ts +50 -0
  20. package/dist/agents/routes.d.ts +256 -0
  21. package/dist/agents/types.d.ts +129 -0
  22. package/dist/apikeys/config.d.ts +64 -0
  23. package/dist/apikeys/inMemoryStores.d.ts +4 -0
  24. package/dist/apikeys/postgresStores.d.ts +359 -0
  25. package/dist/apikeys/routes.d.ts +83 -0
  26. package/dist/apikeys/types.d.ts +53 -0
  27. package/dist/audit/config.d.ts +9 -0
  28. package/dist/audit/export.d.ts +2 -0
  29. package/dist/audit/inMemoryAuditStore.d.ts +2 -0
  30. package/dist/audit/integrity.d.ts +19 -0
  31. package/dist/audit/postgresAuditStore.d.ts +116 -0
  32. package/dist/audit/siem.d.ts +11 -0
  33. package/dist/audit/types.d.ts +21 -0
  34. package/dist/audit/wrap.d.ts +11 -0
  35. package/dist/authContext.d.ts +193 -0
  36. package/dist/authorization/config.d.ts +19 -0
  37. package/dist/authorization/protectPermission.d.ts +52 -0
  38. package/dist/cli/import/auth0.d.ts +2 -0
  39. package/dist/cli/import/clerk.d.ts +2 -0
  40. package/dist/cli/import/index.d.ts +10 -0
  41. package/dist/cli/import/lucia.d.ts +2 -0
  42. package/dist/cli/import/nextauth.d.ts +2 -0
  43. package/dist/cli/import/supabase.d.ts +2 -0
  44. package/dist/cli/import/types.d.ts +27 -0
  45. package/dist/cli/migrate.d.ts +2 -0
  46. package/dist/cli/migrate.js.map +2 -2
  47. package/dist/client/components/react/SignIn.d.ts +32 -0
  48. package/dist/client/components/react/SignUp.d.ts +29 -0
  49. package/dist/client/components/react/UserButton.d.ts +36 -0
  50. package/dist/client/createAuthClient.d.ts +285 -0
  51. package/dist/client/index.d.ts +4 -0
  52. package/dist/client/passkeyHelpers.d.ts +19 -0
  53. package/dist/client/react.d.ts +87 -0
  54. package/dist/client/sessionExpiry.d.ts +37 -0
  55. package/dist/client/solid.d.ts +86 -0
  56. package/dist/client/svelte.d.ts +86 -0
  57. package/dist/client/vue.d.ts +88 -0
  58. package/dist/compliance/cipher.d.ts +11 -0
  59. package/dist/compliance/config.d.ts +18 -0
  60. package/dist/compliance/redaction.d.ts +8 -0
  61. package/dist/compliance/routes.d.ts +89 -0
  62. package/dist/constants.d.ts +10 -0
  63. package/dist/credentials/backgroundOps.d.ts +45 -0
  64. package/dist/credentials/config.d.ts +94 -0
  65. package/dist/credentials/emailValidation.d.ts +9 -0
  66. package/dist/credentials/emailVerification.d.ts +83 -0
  67. package/dist/credentials/import.d.ts +49 -0
  68. package/dist/credentials/inMemoryCredentialStore.d.ts +2 -0
  69. package/dist/credentials/legacyHashers.d.ts +3 -0
  70. package/dist/credentials/login.d.ts +76 -0
  71. package/dist/credentials/passwordPolicy.d.ts +15 -0
  72. package/dist/credentials/passwordReset.d.ts +87 -0
  73. package/dist/credentials/postgresCredentialStore.d.ts +235 -0
  74. package/dist/credentials/register.d.ts +54 -0
  75. package/dist/credentials/routes.d.ts +201 -0
  76. package/dist/credentials/types.d.ts +26 -0
  77. package/dist/crypto.d.ts +32 -0
  78. package/dist/csrf.d.ts +10 -0
  79. package/dist/errors.d.ts +12 -0
  80. package/dist/federation/tokenStore.d.ts +29 -0
  81. package/dist/fga/config.d.ts +53 -0
  82. package/dist/fga/inMemoryStores.d.ts +3 -0
  83. package/dist/fga/postgresStores.d.ts +116 -0
  84. package/dist/fga/redisCheckCache.d.ts +11 -0
  85. package/dist/fga/schema.d.ts +2 -0
  86. package/dist/fga/types.d.ts +28 -0
  87. package/dist/fingerprint-client/index.d.ts +26 -0
  88. package/dist/htmx/configuredRoutes.d.ts +542 -0
  89. package/dist/htmx/index.d.ts +2 -0
  90. package/dist/htmx/renderers.d.ts +8 -0
  91. package/dist/htmx/routes.d.ts +514 -0
  92. package/dist/htmx/types.d.ts +129 -0
  93. package/dist/index.d.ts +3647 -0
  94. package/dist/index.js +34 -4
  95. package/dist/index.js.map +7 -6
  96. package/dist/linkedProviders/inMemoryStores.d.ts +9 -0
  97. package/dist/linkedProviders/index.d.ts +3 -0
  98. package/dist/linkedProviders/neonStores.d.ts +484 -0
  99. package/dist/linkedProviders/oauthAccountResolver.d.ts +28 -0
  100. package/dist/linkedProviders/oauthResolver.d.ts +9 -0
  101. package/dist/linkedProviders/resolver.d.ts +22 -0
  102. package/dist/lockout/config.d.ts +17 -0
  103. package/dist/lockout/inMemoryLockoutStore.d.ts +2 -0
  104. package/dist/lockout/postgresLockoutStore.d.ts +71 -0
  105. package/dist/lockout/redisLockoutStore.d.ts +3 -0
  106. package/dist/lockout/types.d.ts +12 -0
  107. package/dist/manifest.d.ts +18 -0
  108. package/dist/manifest.json +373 -0
  109. package/dist/mfa/backupCodes.d.ts +5 -0
  110. package/dist/mfa/challenge.d.ts +72 -0
  111. package/dist/mfa/config.d.ts +59 -0
  112. package/dist/mfa/gate.d.ts +2 -0
  113. package/dist/mfa/inMemoryMfaStore.d.ts +2 -0
  114. package/dist/mfa/management.d.ts +106 -0
  115. package/dist/mfa/postgresMfaStore.d.ts +266 -0
  116. package/dist/mfa/recentAuth.d.ts +2 -0
  117. package/dist/mfa/rotation.d.ts +17 -0
  118. package/dist/mfa/routes.d.ts +239 -0
  119. package/dist/mfa/secret.d.ts +2 -0
  120. package/dist/mfa/sms.d.ts +143 -0
  121. package/dist/mfa/totp.d.ts +91 -0
  122. package/dist/mfa/types.d.ts +58 -0
  123. package/dist/migrations/generate.d.ts +2 -0
  124. package/dist/migrations/index.d.ts +6 -0
  125. package/dist/migrations/runner.d.ts +22 -0
  126. package/dist/migrations/types.d.ts +14 -0
  127. package/dist/oidc/clientAuth.d.ts +19 -0
  128. package/dist/oidc/clientIdMetadata.d.ts +28 -0
  129. package/dist/oidc/config.d.ts +307 -0
  130. package/dist/oidc/dpop.d.ts +23 -0
  131. package/dist/oidc/inMemoryStores.d.ts +11 -0
  132. package/dist/oidc/inMemoryVciStores.d.ts +3 -0
  133. package/dist/oidc/index.d.ts +12 -0
  134. package/dist/oidc/jar.d.ts +14 -0
  135. package/dist/oidc/keys.d.ts +50 -0
  136. package/dist/oidc/logout.d.ts +38 -0
  137. package/dist/oidc/mtls.d.ts +11 -0
  138. package/dist/oidc/operator.d.ts +14 -0
  139. package/dist/oidc/par.d.ts +28 -0
  140. package/dist/oidc/postgresStores.d.ts +1217 -0
  141. package/dist/oidc/registration.d.ts +138 -0
  142. package/dist/oidc/routes.d.ts +569 -0
  143. package/dist/oidc/types.d.ts +157 -0
  144. package/dist/oidc/userinfo.d.ts +21 -0
  145. package/dist/oidc/vci.d.ts +159 -0
  146. package/dist/oidc/vciRoutes.d.ts +92 -0
  147. package/dist/organizations/config.d.ts +46 -0
  148. package/dist/organizations/inMemoryOrganizationStore.d.ts +2 -0
  149. package/dist/organizations/operations.d.ts +39 -0
  150. package/dist/organizations/postgresOrganizationStore.d.ts +340 -0
  151. package/dist/organizations/routes.d.ts +299 -0
  152. package/dist/organizations/types.d.ts +45 -0
  153. package/dist/passwordless/config.d.ts +43 -0
  154. package/dist/passwordless/inMemoryPasswordlessTokenStore.d.ts +2 -0
  155. package/dist/passwordless/postgresPasswordlessTokenStore.d.ts +56 -0
  156. package/dist/passwordless/routes.d.ts +163 -0
  157. package/dist/passwordless/types.d.ts +9 -0
  158. package/dist/pluginIdentity.d.ts +2 -0
  159. package/dist/plugins/denyDisposableEmail.d.ts +7 -0
  160. package/dist/plugins/discordAlert.d.ts +7 -0
  161. package/dist/plugins/geoBlock.d.ts +8 -0
  162. package/dist/plugins/index.d.ts +12 -0
  163. package/dist/plugins/pagerdutyAlert.d.ts +9 -0
  164. package/dist/plugins/posthogIdentify.d.ts +7 -0
  165. package/dist/plugins/slackAlert.d.ts +7 -0
  166. package/dist/portal/config.d.ts +34 -0
  167. package/dist/portal/inMemorySetupSessionStore.d.ts +2 -0
  168. package/dist/portal/operations.d.ts +10 -0
  169. package/dist/portal/postgresSetupSessionStore.d.ts +116 -0
  170. package/dist/portal/routes.d.ts +160 -0
  171. package/dist/portal/types.d.ts +16 -0
  172. package/dist/providers/clients.d.ts +1831 -0
  173. package/dist/providers/index.d.ts +2 -0
  174. package/dist/providersFromEnv.d.ts +19 -0
  175. package/dist/redirect.d.ts +2 -0
  176. package/dist/roles/config.d.ts +27 -0
  177. package/dist/roles/inMemoryRoleStore.d.ts +2 -0
  178. package/dist/roles/operations.d.ts +8 -0
  179. package/dist/roles/postgresRoleStore.d.ts +86 -0
  180. package/dist/roles/resolver.d.ts +17 -0
  181. package/dist/roles/routes.d.ts +106 -0
  182. package/dist/roles/types.d.ts +14 -0
  183. package/dist/routes/authorize.d.ts +102 -0
  184. package/dist/routes/callback.d.ts +64 -0
  185. package/dist/routes/profile.d.ts +73 -0
  186. package/dist/routes/protectRoute.d.ts +51 -0
  187. package/dist/routes/refresh.d.ts +74 -0
  188. package/dist/routes/requireAuth.d.ts +43 -0
  189. package/dist/routes/revoke.d.ts +73 -0
  190. package/dist/routes/sessions.d.ts +103 -0
  191. package/dist/routes/signout.d.ts +70 -0
  192. package/dist/routes/stepUp.d.ts +48 -0
  193. package/dist/routes/userStatus.d.ts +72 -0
  194. package/dist/saml.d.ts +1 -0
  195. package/dist/scim/config.d.ts +57 -0
  196. package/dist/scim/extensions.d.ts +30 -0
  197. package/dist/scim/inMemoryScimTokenStore.d.ts +2 -0
  198. package/dist/scim/postgresScimTokenStore.d.ts +86 -0
  199. package/dist/scim/routes.d.ts +366 -0
  200. package/dist/scim/serialize.d.ts +83 -0
  201. package/dist/scim/types.d.ts +54 -0
  202. package/dist/server.d.ts +34 -0
  203. package/dist/server.js +32 -4
  204. package/dist/server.js.map +7 -6
  205. package/dist/session/access.d.ts +33 -0
  206. package/dist/session/anonymous.d.ts +12 -0
  207. package/dist/session/cleanup.d.ts +45 -0
  208. package/dist/session/cookieReader.d.ts +10 -0
  209. package/dist/session/impersonation.d.ts +34 -0
  210. package/dist/session/inMemoryStore.d.ts +7 -0
  211. package/dist/session/multiSession.d.ts +27 -0
  212. package/dist/session/neonStore.d.ts +574 -0
  213. package/dist/session/promote.d.ts +23 -0
  214. package/dist/session/redisStore.d.ts +6 -0
  215. package/dist/session/sessionsConfig.d.ts +9 -0
  216. package/dist/session/state.d.ts +33 -0
  217. package/dist/session/types.d.ts +23 -0
  218. package/dist/session/userSessions.d.ts +19 -0
  219. package/dist/sso/config.d.ts +149 -0
  220. package/dist/sso/discoveryRoute.d.ts +63 -0
  221. package/dist/sso/inMemorySamlServiceProviderStore.d.ts +2 -0
  222. package/dist/sso/inMemorySsoConnectionStore.d.ts +2 -0
  223. package/dist/sso/nodeSamlAdapter.d.ts +8 -0
  224. package/dist/sso/oidcRoutes.d.ts +98 -0
  225. package/dist/sso/postgresSamlServiceProviderStore.d.ts +101 -0
  226. package/dist/sso/postgresSsoConnectionStore.d.ts +117 -0
  227. package/dist/sso/samlIdpRoutes.d.ts +139 -0
  228. package/dist/sso/samlRoutes.d.ts +179 -0
  229. package/dist/sso/types.d.ts +53 -0
  230. package/dist/stores/postgres.d.ts +5 -0
  231. package/dist/stores/redis.d.ts +5 -0
  232. package/dist/telemetry/tracing.d.ts +15 -0
  233. package/dist/tenancy.d.ts +9 -0
  234. package/dist/typeGuards.d.ts +6 -0
  235. package/dist/typebox.d.ts +4 -0
  236. package/dist/types.d.ts +438 -0
  237. package/dist/utils.d.ts +45 -0
  238. package/dist/vault/config.d.ts +20 -0
  239. package/dist/vault/inMemoryVaultStore.d.ts +2 -0
  240. package/dist/vault/index.d.ts +5 -0
  241. package/dist/vault/postgresVaultStore.d.ts +86 -0
  242. package/dist/vault/types.d.ts +14 -0
  243. package/dist/vc/inMemoryVpStores.d.ts +2 -0
  244. package/dist/vc/openid4vp.d.ts +82 -0
  245. package/dist/vc/postgresVcStores.d.ts +300 -0
  246. package/dist/vc/sdJwt.d.ts +37 -0
  247. package/dist/vc/statusList.d.ts +29 -0
  248. package/dist/vc/statusListRoutes.d.ts +63 -0
  249. package/dist/vc/vpRoutes.d.ts +120 -0
  250. package/dist/verification/types.d.ts +58 -0
  251. package/dist/webauthn/adapter.d.ts +59 -0
  252. package/dist/webauthn/config.d.ts +36 -0
  253. package/dist/webauthn/inMemoryWebAuthnCredentialStore.d.ts +2 -0
  254. package/dist/webauthn/postgresWebAuthnCredentialStore.d.ts +146 -0
  255. package/dist/webauthn/routes.d.ts +155 -0
  256. package/dist/webauthn/simpleWebAuthnAdapter.d.ts +3 -0
  257. package/dist/webauthn/types.d.ts +17 -0
  258. package/dist/webauthn.d.ts +1 -0
  259. package/dist/webhooks/config.d.ts +34 -0
  260. package/dist/webhooks/dispatcher.d.ts +3 -0
  261. package/dist/webhooks/inMemoryStore.d.ts +2 -0
  262. package/dist/webhooks/postgresStore.d.ts +116 -0
  263. package/dist/webhooks/sign.d.ts +11 -0
  264. package/dist/webhooks/types.d.ts +25 -0
  265. package/package.json +1 -1
@@ -0,0 +1,1831 @@
1
+ import { CredentialsFor, OAuth2Client, ProviderOption } from 'citra';
2
+ import { CustomProvidersConfiguration, OAuth2ConfigurationOptions, OAuth2ProviderClientConfiguration, ClientProviderEntry, ClientProviderGroup } from '../types';
3
+ export declare const buildClientProviders: (providersConfiguration: OAuth2ConfigurationOptions, createOAuth2ClientFn: <P extends ProviderOption>(providerName: P, config: CredentialsFor<P>) => Promise<OAuth2Client<P>>, customProviders?: CustomProvidersConfiguration) => Promise<{
4
+ [x: string]: {
5
+ entries: {
6
+ [k: string]: {
7
+ clientName: string | undefined;
8
+ providerConfiguration: import("citra").ProviderConfig;
9
+ providerInstance: import("citra").BaseOAuth2ClientForConfig<import("citra").ProviderConfig>;
10
+ requiresPKCE: boolean;
11
+ scope: string[] | undefined;
12
+ searchParams: [string, string][] | undefined;
13
+ };
14
+ };
15
+ isSingleClient: boolean;
16
+ } | {
17
+ entries: {
18
+ [k: string]: {
19
+ clientName: string | undefined;
20
+ providerConfiguration: ({
21
+ authorizationUrl: string;
22
+ isOIDC: false;
23
+ isRefreshable: true;
24
+ profileRequest: {
25
+ authIn: "header";
26
+ encoding: "application/json";
27
+ method: "GET";
28
+ url: string;
29
+ };
30
+ scopeRequired: false;
31
+ subject: string[];
32
+ subjectType: "string";
33
+ tokenRequest: {
34
+ authIn: "body";
35
+ encoding: "application/x-www-form-urlencoded";
36
+ url: string;
37
+ };
38
+ } & import("citra").ProviderConfig) | ({
39
+ authorizationUrl: string;
40
+ isOIDC: true;
41
+ isRefreshable: true;
42
+ PKCEMethod: "S256";
43
+ profileRequest: {
44
+ authIn: "header";
45
+ encoding: "application/json";
46
+ method: "GET";
47
+ url: (config: any) => string;
48
+ };
49
+ revocationRequest: {
50
+ authIn: "body";
51
+ encoding: "application/json";
52
+ tokenParamName: "token";
53
+ url: (config: any) => string;
54
+ };
55
+ scopeRequired: false;
56
+ subject: string[];
57
+ subjectType: "string";
58
+ tokenRequest: {
59
+ authIn: "body";
60
+ encoding: "application/x-www-form-urlencoded";
61
+ url: (config: any) => string;
62
+ };
63
+ } & import("citra").ProviderConfig) | ({
64
+ authorizationUrl: string;
65
+ isOIDC: false;
66
+ isRefreshable: true;
67
+ profileRequest: {
68
+ authIn: "header";
69
+ body: {
70
+ query: string;
71
+ };
72
+ encoding: "application/json";
73
+ headers: {
74
+ Accept: string;
75
+ "Content-Type": string;
76
+ };
77
+ method: "POST";
78
+ url: string;
79
+ };
80
+ scopeRequired: false;
81
+ subject: string[];
82
+ subjectType: "number";
83
+ tokenRequest: {
84
+ authIn: "body";
85
+ encoding: "application/x-www-form-urlencoded";
86
+ url: string;
87
+ };
88
+ } & import("citra").ProviderConfig) | ({
89
+ authorizationUrl: string;
90
+ createAuthorizationURLSearchParams: {
91
+ response_mode: string;
92
+ };
93
+ createClientSecret: (config: any) => Promise<string>;
94
+ isOIDC: true;
95
+ isRefreshable: true;
96
+ revocationRequest: {
97
+ authIn: "body";
98
+ encoding: "application/x-www-form-urlencoded";
99
+ tokenParamName: "token";
100
+ url: string;
101
+ };
102
+ scopeRequired: false;
103
+ subject: string[];
104
+ subjectBySource: {
105
+ idToken: string[];
106
+ };
107
+ subjectType: "string";
108
+ tokenRequest: {
109
+ authIn: "body";
110
+ encoding: "application/x-www-form-urlencoded";
111
+ url: string;
112
+ };
113
+ } & import("citra").ProviderConfig) | ({
114
+ authorizationUrl: string;
115
+ createAuthorizationURLSearchParams: {
116
+ audience: string;
117
+ };
118
+ email: string[];
119
+ fullName: string[];
120
+ isOIDC: false;
121
+ isRefreshable: true;
122
+ picture: string[];
123
+ profileRequest: {
124
+ authIn: "header";
125
+ encoding: "application/json";
126
+ method: "GET";
127
+ url: string;
128
+ };
129
+ scopeRequired: true;
130
+ subject: string[];
131
+ subjectType: "string";
132
+ tokenRequest: {
133
+ authIn: "body";
134
+ encoding: "application/x-www-form-urlencoded";
135
+ url: string;
136
+ };
137
+ } & import("citra").ProviderConfig) | ({
138
+ authorizationUrl: string;
139
+ isOIDC: false;
140
+ isRefreshable: true;
141
+ profileRequest: {
142
+ authIn: "header";
143
+ encoding: "application/json";
144
+ method: "GET";
145
+ url: string;
146
+ };
147
+ scopeRequired: true;
148
+ subject: string[];
149
+ subjectType: "string";
150
+ tokenRequest: {
151
+ authIn: "body";
152
+ encoding: "application/x-www-form-urlencoded";
153
+ url: string;
154
+ };
155
+ } & import("citra").ProviderConfig) | ({
156
+ authorizationUrl: (config: any) => string;
157
+ isOIDC: true;
158
+ isRefreshable: true;
159
+ PKCEMethod: "S256";
160
+ profileRequest: {
161
+ authIn: "header";
162
+ encoding: "application/json";
163
+ method: "GET";
164
+ url: (config: any) => string;
165
+ };
166
+ revocationRequest: {
167
+ authIn: "body";
168
+ body: URLSearchParams;
169
+ encoding: "application/json";
170
+ inputSource: "refreshToken";
171
+ tokenParamName: "token";
172
+ url: (config: any) => string;
173
+ };
174
+ scopeRequired: false;
175
+ subject: string[];
176
+ subjectType: "string";
177
+ tokenRequest: {
178
+ authIn: "body";
179
+ encoding: "application/x-www-form-urlencoded";
180
+ url: (config: any) => string;
181
+ };
182
+ } & import("citra").ProviderConfig) | ({
183
+ authorizationUrl: (config: any) => string;
184
+ isOIDC: true;
185
+ isRefreshable: true;
186
+ PKCEMethod: "S256";
187
+ profileRequest: {
188
+ authIn: "header";
189
+ encoding: "application/json";
190
+ method: "GET";
191
+ url: (config: any) => string;
192
+ };
193
+ scopeRequired: false;
194
+ subject: string[];
195
+ subjectType: "string";
196
+ tokenRequest: {
197
+ authIn: "body";
198
+ encoding: "application/x-www-form-urlencoded";
199
+ url: (config: any) => string;
200
+ };
201
+ } & import("citra").ProviderConfig) | ({
202
+ authorizationUrl: string;
203
+ email: string[];
204
+ familyName: string[];
205
+ fullName: string[];
206
+ givenName: string[];
207
+ isOIDC: true;
208
+ isRefreshable: true;
209
+ picture: string[];
210
+ PKCEMethod: "S256";
211
+ profileRequest: {
212
+ authIn: "header";
213
+ encoding: "application/json";
214
+ method: "GET";
215
+ url: string;
216
+ };
217
+ scopeRequired: false;
218
+ subject: string[];
219
+ subjectType: "string";
220
+ tokenRequest: {
221
+ authIn: "body";
222
+ encoding: "application/x-www-form-urlencoded";
223
+ url: string;
224
+ };
225
+ } & import("citra").ProviderConfig) | ({
226
+ authorizationUrl: (config: any) => string;
227
+ isOIDC: true;
228
+ isRefreshable: true;
229
+ PKCEMethod: "S256";
230
+ scopeRequired: false;
231
+ subject: string[];
232
+ subjectType: "string";
233
+ tokenRequest: {
234
+ authIn: "body";
235
+ encoding: "application/x-www-form-urlencoded";
236
+ url: (config: any) => string;
237
+ };
238
+ } & import("citra").ProviderConfig) | ({
239
+ authorizationUrl: string;
240
+ isOIDC: true;
241
+ isRefreshable: false;
242
+ profileRequest: {
243
+ authIn: "header";
244
+ encoding: "application/json";
245
+ method: "GET";
246
+ url: string;
247
+ };
248
+ scopeRequired: false;
249
+ subject: string[];
250
+ subjectType: "string";
251
+ tokenRequest: {
252
+ authIn: "body";
253
+ encoding: "application/x-www-form-urlencoded";
254
+ url: string;
255
+ };
256
+ } & import("citra").ProviderConfig) | ({
257
+ authorizationUrl: string;
258
+ fullName: string[];
259
+ isOIDC: false;
260
+ isRefreshable: true;
261
+ picture: string[];
262
+ profileRequest: {
263
+ authIn: "header";
264
+ encoding: "application/json";
265
+ method: "GET";
266
+ url: string;
267
+ };
268
+ scopeRequired: false;
269
+ subject: string[];
270
+ subjectType: "string";
271
+ tokenRequest: {
272
+ authIn: "body";
273
+ encoding: "application/x-www-form-urlencoded";
274
+ url: string;
275
+ };
276
+ } & import("citra").ProviderConfig) | ({
277
+ authorizationUrl: string;
278
+ email: string[];
279
+ fullName: string[];
280
+ isOIDC: false;
281
+ isRefreshable: true;
282
+ picture: string[];
283
+ profileRequest: {
284
+ authIn: "header";
285
+ encoding: "application/json";
286
+ method: "GET";
287
+ url: string;
288
+ };
289
+ revocationRequest: {
290
+ authIn: "body";
291
+ encoding: "application/json";
292
+ tokenParamName: "token";
293
+ url: string;
294
+ };
295
+ scopeRequired: false;
296
+ subject: string[];
297
+ subjectType: "string";
298
+ tokenRequest: {
299
+ authIn: "body";
300
+ encoding: "application/x-www-form-urlencoded";
301
+ url: string;
302
+ };
303
+ } & import("citra").ProviderConfig) | ({
304
+ authorizationUrl: string;
305
+ isOIDC: false;
306
+ isRefreshable: true;
307
+ profileRequest: {
308
+ authIn: "header";
309
+ encoding: "application/json";
310
+ headers: {
311
+ "X-API-Key": string;
312
+ };
313
+ method: "GET";
314
+ url: string;
315
+ };
316
+ scopeRequired: false;
317
+ subject: string[];
318
+ subjectType: "number";
319
+ tokenRequest: {
320
+ authIn: "body";
321
+ encoding: "application/x-www-form-urlencoded";
322
+ url: string;
323
+ };
324
+ } & import("citra").ProviderConfig) | ({
325
+ authorizationUrl: string;
326
+ email: string[];
327
+ fullName: string[];
328
+ isOIDC: false;
329
+ isRefreshable: true;
330
+ profileRequest: {
331
+ authIn: "header";
332
+ encoding: "application/json";
333
+ method: "GET";
334
+ url: string;
335
+ };
336
+ scopeRequired: false;
337
+ subject: string[];
338
+ subjectType: "string";
339
+ tokenRequest: {
340
+ authIn: "body";
341
+ encoding: "application/x-www-form-urlencoded";
342
+ url: string;
343
+ };
344
+ } & import("citra").ProviderConfig) | ({
345
+ authorizationUrl: string;
346
+ isOIDC: false;
347
+ isRefreshable: true;
348
+ profileRequest: {
349
+ authIn: "header";
350
+ encoding: "application/json";
351
+ method: "GET";
352
+ url: string;
353
+ };
354
+ scopeRequired: true;
355
+ subject: string[];
356
+ subjectType: "string";
357
+ tokenRequest: {
358
+ authIn: "body";
359
+ encoding: "application/x-www-form-urlencoded";
360
+ url: string;
361
+ };
362
+ } & import("citra").ProviderConfig) | ({
363
+ authorizationUrl: string;
364
+ isOIDC: false;
365
+ isRefreshable: true;
366
+ profileRequest: {
367
+ authIn: "header";
368
+ encoding: "application/json";
369
+ method: "GET";
370
+ url: string;
371
+ };
372
+ scopeRequired: false;
373
+ subject: string[];
374
+ subjectType: "number";
375
+ tokenRequest: {
376
+ authIn: "body";
377
+ encoding: "application/x-www-form-urlencoded";
378
+ url: string;
379
+ };
380
+ } & import("citra").ProviderConfig) | ({
381
+ authorizationUrl: string;
382
+ email: string[];
383
+ isOIDC: true;
384
+ isRefreshable: true;
385
+ picture: string[];
386
+ PKCEMethod: "S256";
387
+ profileRequest: {
388
+ authIn: "header";
389
+ encoding: "application/json";
390
+ method: "GET";
391
+ url: string;
392
+ };
393
+ scopeRequired: true;
394
+ subject: string[];
395
+ subjectType: "string";
396
+ tokenRequest: {
397
+ authIn: "body";
398
+ encoding: "application/x-www-form-urlencoded";
399
+ url: string;
400
+ };
401
+ } & import("citra").ProviderConfig) | ({
402
+ authorizationUrl: string;
403
+ email: string[];
404
+ isOIDC: false;
405
+ isRefreshable: true;
406
+ picture: string[];
407
+ profileRequest: {
408
+ authIn: "header";
409
+ encoding: "application/json";
410
+ method: "GET";
411
+ url: string;
412
+ };
413
+ scopeRequired: false;
414
+ subject: string[];
415
+ subjectType: "number";
416
+ tokenRequest: {
417
+ authIn: "body";
418
+ encoding: "application/x-www-form-urlencoded";
419
+ url: string;
420
+ };
421
+ } & import("citra").ProviderConfig) | ({
422
+ authorizationUrl: string;
423
+ isOIDC: false;
424
+ isRefreshable: false;
425
+ profileRequest: {
426
+ authIn: "header";
427
+ encoding: "application/json";
428
+ method: "GET";
429
+ url: string;
430
+ };
431
+ scopeRequired: false;
432
+ subject: string[];
433
+ subjectType: "number";
434
+ tokenRequest: {
435
+ authIn: "body";
436
+ encoding: "application/x-www-form-urlencoded";
437
+ url: string;
438
+ };
439
+ } & import("citra").ProviderConfig) | ({
440
+ authorizationUrl: string;
441
+ email: string[];
442
+ familyName: string[];
443
+ fullName: string[];
444
+ givenName: string[];
445
+ isOIDC: false;
446
+ isRefreshable: true;
447
+ profileRequest: {
448
+ authIn: "header";
449
+ encoding: "application/json";
450
+ method: "POST";
451
+ url: string;
452
+ };
453
+ revocationRequest: {
454
+ authIn: "header";
455
+ encoding: "application/json";
456
+ url: string;
457
+ };
458
+ scopeRequired: false;
459
+ subject: string[];
460
+ subjectType: "string";
461
+ tokenRequest: {
462
+ authIn: "body";
463
+ encoding: "application/x-www-form-urlencoded";
464
+ url: string;
465
+ };
466
+ } & import("citra").ProviderConfig) | ({
467
+ authorizationUrl: string;
468
+ isOIDC: false;
469
+ isRefreshable: true;
470
+ profileRequest: {
471
+ authIn: "header";
472
+ encoding: "application/json";
473
+ method: "GET";
474
+ url: string;
475
+ };
476
+ scopeRequired: false;
477
+ subject: string[];
478
+ subjectType: "number";
479
+ tokenRequest: {
480
+ authIn: "body";
481
+ encoding: "application/x-www-form-urlencoded";
482
+ url: string;
483
+ };
484
+ } & import("citra").ProviderConfig) | ({
485
+ authorizationUrl: string;
486
+ isOIDC: false;
487
+ isRefreshable: true;
488
+ profileRequest: {
489
+ authIn: "header";
490
+ encoding: "application/json";
491
+ method: "GET";
492
+ url: string;
493
+ };
494
+ scopeRequired: false;
495
+ subject: string[];
496
+ subjectType: "number";
497
+ tokenRequest: {
498
+ authIn: "body";
499
+ encoding: "application/x-www-form-urlencoded";
500
+ url: string;
501
+ };
502
+ } & import("citra").ProviderConfig) | ({
503
+ authorizationUrl: string;
504
+ email: string[];
505
+ familyName: string[];
506
+ fullName: string[];
507
+ givenName: string[];
508
+ isOIDC: true;
509
+ isRefreshable: false;
510
+ picture: string[];
511
+ PKCEMethod: "S256";
512
+ profileRequest: {
513
+ authIn: "query";
514
+ encoding: "application/json";
515
+ method: "GET";
516
+ searchParams: [string, string][];
517
+ url: string;
518
+ };
519
+ scopeRequired: false;
520
+ subject: string[];
521
+ subjectBySource: {
522
+ idToken: string[];
523
+ profile: string[];
524
+ };
525
+ subjectType: "string";
526
+ tokenRequest: {
527
+ authIn: "body";
528
+ encoding: "application/x-www-form-urlencoded";
529
+ url: string;
530
+ };
531
+ } & import("citra").ProviderConfig) | ({
532
+ authorizationUrl: string;
533
+ email: string[];
534
+ isOIDC: false;
535
+ isRefreshable: true;
536
+ picture: string[];
537
+ PKCEMethod: "S256";
538
+ profileRequest: {
539
+ authIn: "header";
540
+ encoding: "application/json";
541
+ method: "GET";
542
+ url: string;
543
+ };
544
+ scopeRequired: true;
545
+ subject: string[];
546
+ subjectType: "string";
547
+ tokenRequest: {
548
+ authIn: "body";
549
+ encoding: "application/x-www-form-urlencoded";
550
+ url: string;
551
+ };
552
+ } & import("citra").ProviderConfig) | ({
553
+ authorizationUrl: (config: any) => string;
554
+ isOIDC: true;
555
+ isRefreshable: true;
556
+ PKCEMethod: "S256";
557
+ profileRequest: {
558
+ authIn: "header";
559
+ encoding: "application/json";
560
+ method: "GET";
561
+ url: (config: any) => string;
562
+ };
563
+ scopeRequired: false;
564
+ subject: string[];
565
+ subjectType: "string";
566
+ tokenRequest: {
567
+ authIn: "body";
568
+ encoding: "application/x-www-form-urlencoded";
569
+ url: (config: any) => string;
570
+ };
571
+ } & import("citra").ProviderConfig) | ({
572
+ authorizationUrl: string;
573
+ email: string[];
574
+ isOIDC: false;
575
+ isRefreshable: false;
576
+ picture: string[];
577
+ profileRequest: {
578
+ authIn: "header";
579
+ encoding: "application/json";
580
+ method: "GET";
581
+ url: string;
582
+ };
583
+ scopeRequired: false;
584
+ subject: string[];
585
+ subjectType: "number";
586
+ tokenRequest: {
587
+ authIn: "body";
588
+ encoding: "application/x-www-form-urlencoded";
589
+ url: string;
590
+ };
591
+ } & import("citra").ProviderConfig) | ({
592
+ authorizationUrl: (config: any) => string;
593
+ email: string[];
594
+ fullName: string[];
595
+ isOIDC: true;
596
+ isRefreshable: true;
597
+ picture: string[];
598
+ PKCEMethod: "S256";
599
+ profileRequest: {
600
+ authIn: "header";
601
+ encoding: "application/json";
602
+ method: "GET";
603
+ url: string;
604
+ };
605
+ revocationRequest: {
606
+ authIn: "body";
607
+ encoding: "application/json";
608
+ tokenParamName: "token";
609
+ url: (config: any) => string;
610
+ };
611
+ scopeRequired: false;
612
+ subject: string[];
613
+ subjectType: "string";
614
+ tokenRequest: {
615
+ authIn: "body";
616
+ encoding: "application/x-www-form-urlencoded";
617
+ url: (config: any) => string;
618
+ };
619
+ } & import("citra").ProviderConfig) | ({
620
+ authorizationUrl: string;
621
+ isOIDC: false;
622
+ isRefreshable: true;
623
+ profileRequest: {
624
+ authIn: "header";
625
+ encoding: "application/json";
626
+ headers: {
627
+ Version: string;
628
+ };
629
+ method: "GET";
630
+ url: string;
631
+ };
632
+ scopeRequired: true;
633
+ subject: string[];
634
+ subjectBySource: {
635
+ tokenResponse: string[];
636
+ };
637
+ subjectType: "string";
638
+ tokenRequest: {
639
+ authIn: "body";
640
+ encoding: "application/x-www-form-urlencoded";
641
+ url: string;
642
+ };
643
+ } & import("citra").ProviderConfig) | ({
644
+ authorizationUrl: string;
645
+ email: string[];
646
+ familyName: string[];
647
+ fullName: string[];
648
+ givenName: string[];
649
+ isOIDC: true;
650
+ isRefreshable: true;
651
+ picture: string[];
652
+ PKCEMethod: "S256";
653
+ profileRequest: {
654
+ authIn: "header";
655
+ encoding: "application/json";
656
+ method: "GET";
657
+ url: string;
658
+ };
659
+ revocationRequest: {
660
+ authIn: "body";
661
+ encoding: "application/json";
662
+ tokenParamName: "token";
663
+ url: string;
664
+ };
665
+ scopeRequired: true;
666
+ subject: string[];
667
+ subjectBySource: {
668
+ idToken: string[];
669
+ profile: string[];
670
+ };
671
+ subjectType: "string";
672
+ tokenRequest: {
673
+ authIn: "body";
674
+ encoding: "application/x-www-form-urlencoded";
675
+ url: string;
676
+ };
677
+ } & import("citra").ProviderConfig) | ({
678
+ authorizationUrl: string;
679
+ isOIDC: false;
680
+ isRefreshable: true;
681
+ profileRequest: {
682
+ authIn: "path";
683
+ encoding: "application/json";
684
+ method: "GET";
685
+ url: string;
686
+ };
687
+ scopeRequired: true;
688
+ subject: string[];
689
+ subjectType: "number";
690
+ tokenRequest: {
691
+ authIn: "body";
692
+ encoding: "application/x-www-form-urlencoded";
693
+ url: string;
694
+ };
695
+ } & import("citra").ProviderConfig) | ({
696
+ authorizationUrl: string;
697
+ isOIDC: true;
698
+ isRefreshable: true;
699
+ profileRequest: {
700
+ authIn: "header";
701
+ encoding: "application/json";
702
+ method: "GET";
703
+ url: (config: any) => "https://accounts.platform.intuit.com/v1/openid_connect/userinfo" | "https://sandbox-accounts.platform.intuit.com/v1/openid_connect/userinfo";
704
+ };
705
+ revocationRequest: {
706
+ authIn: "body";
707
+ encoding: "application/json";
708
+ headers: (config: any) => {
709
+ Authorization: string;
710
+ };
711
+ tokenParamName: "token";
712
+ url: string;
713
+ };
714
+ scopeRequired: true;
715
+ subject: string[];
716
+ subjectType: "string";
717
+ tokenRequest: {
718
+ authIn: "body";
719
+ encoding: "application/x-www-form-urlencoded";
720
+ url: string;
721
+ };
722
+ } & import("citra").ProviderConfig) | ({
723
+ authorizationUrl: string;
724
+ isOIDC: true;
725
+ isRefreshable: true;
726
+ picture: string[];
727
+ PKCEMethod: "S256";
728
+ profileRequest: {
729
+ authIn: "header";
730
+ encoding: "application/json";
731
+ method: "GET";
732
+ url: string;
733
+ };
734
+ scopeRequired: false;
735
+ subject: string[];
736
+ subjectType: "string";
737
+ tokenRequest: {
738
+ authIn: "body";
739
+ encoding: "application/x-www-form-urlencoded";
740
+ url: string;
741
+ };
742
+ } & import("citra").ProviderConfig) | ({
743
+ authorizationUrl: (config: any) => string;
744
+ isOIDC: true;
745
+ isRefreshable: true;
746
+ PKCEMethod: "S256";
747
+ profileRequest: {
748
+ authIn: "header";
749
+ encoding: "application/json";
750
+ method: "GET";
751
+ url: string;
752
+ };
753
+ revocationRequest: {
754
+ authIn: "body";
755
+ encoding: "application/json";
756
+ tokenParamName: "token";
757
+ url: (config: any) => string;
758
+ };
759
+ scopeRequired: false;
760
+ subject: string[];
761
+ subjectType: "string";
762
+ tokenRequest: {
763
+ authIn: "body";
764
+ encoding: "application/x-www-form-urlencoded";
765
+ url: (config: any) => string;
766
+ };
767
+ } & import("citra").ProviderConfig) | ({
768
+ authorizationUrl: string;
769
+ email: string[];
770
+ isOIDC: false;
771
+ isRefreshable: true;
772
+ picture: string[];
773
+ PKCEMethod: "S256";
774
+ profileRequest: {
775
+ authIn: "header";
776
+ encoding: "application/json";
777
+ method: "GET";
778
+ url: string;
779
+ };
780
+ revocationRequest: {
781
+ authIn: "body";
782
+ encoding: "application/json";
783
+ tokenParamName: "token";
784
+ url: string;
785
+ };
786
+ scopeRequired: true;
787
+ subject: string[];
788
+ subjectType: "number";
789
+ tokenRequest: {
790
+ authIn: "body";
791
+ encoding: "application/x-www-form-urlencoded";
792
+ url: string;
793
+ };
794
+ } & import("citra").ProviderConfig) | ({
795
+ authorizationUrl: string;
796
+ isOIDC: false;
797
+ isRefreshable: false;
798
+ PKCEMethod: "S256";
799
+ profileRequest: {
800
+ authIn: "header";
801
+ encoding: "application/json";
802
+ method: "GET";
803
+ url: string;
804
+ };
805
+ scopeRequired: false;
806
+ subject: string[];
807
+ subjectType: "string";
808
+ tokenRequest: {
809
+ authIn: "body";
810
+ encoding: "application/x-www-form-urlencoded";
811
+ url: string;
812
+ };
813
+ } & import("citra").ProviderConfig) | ({
814
+ authorizationUrl: string;
815
+ isOIDC: true;
816
+ isRefreshable: true;
817
+ PKCEMethod: "S256";
818
+ profileRequest: {
819
+ authIn: "header";
820
+ encoding: "application/json";
821
+ method: "GET";
822
+ url: string;
823
+ };
824
+ scopeRequired: true;
825
+ subject: string[];
826
+ subjectType: "string";
827
+ tokenRequest: {
828
+ authIn: "body";
829
+ encoding: "application/x-www-form-urlencoded";
830
+ url: string;
831
+ };
832
+ } & import("citra").ProviderConfig) | ({
833
+ authorizationUrl: string;
834
+ isOIDC: false;
835
+ isRefreshable: false;
836
+ profileRequest: {
837
+ authIn: "header";
838
+ body: {
839
+ query: string;
840
+ };
841
+ encoding: "application/json";
842
+ headers: {
843
+ Accept: string;
844
+ "Content-Type": string;
845
+ };
846
+ method: "POST";
847
+ url: string;
848
+ };
849
+ revocationRequest: {
850
+ authIn: "header";
851
+ encoding: "application/json";
852
+ url: string;
853
+ };
854
+ scopeRequired: false;
855
+ subject: string[];
856
+ subjectType: "string";
857
+ tokenRequest: {
858
+ authIn: "body";
859
+ encoding: "application/x-www-form-urlencoded";
860
+ url: string;
861
+ };
862
+ } & import("citra").ProviderConfig) | ({
863
+ authorizationUrl: string;
864
+ isOIDC: true;
865
+ isRefreshable: true;
866
+ PKCEMethod: "S256";
867
+ profileRequest: {
868
+ authIn: "header";
869
+ encoding: "application/json";
870
+ method: "GET";
871
+ url: string;
872
+ };
873
+ scopeRequired: true;
874
+ subject: string[];
875
+ subjectType: "string";
876
+ tokenRequest: {
877
+ authIn: "body";
878
+ encoding: "application/x-www-form-urlencoded";
879
+ url: string;
880
+ };
881
+ } & import("citra").ProviderConfig) | ({
882
+ authorizationUrl: (config: any) => string;
883
+ isOIDC: false;
884
+ isRefreshable: false;
885
+ picture: string[];
886
+ PKCEMethod: "S256";
887
+ profileRequest: {
888
+ authIn: "header";
889
+ encoding: "application/json";
890
+ method: "GET";
891
+ url: (config: any) => string;
892
+ };
893
+ revocationRequest: {
894
+ authIn: "body";
895
+ encoding: "application/json";
896
+ tokenParamName: "token";
897
+ url: (config: any) => string;
898
+ };
899
+ scopeRequired: false;
900
+ subject: string[];
901
+ subjectType: "string";
902
+ tokenRequest: {
903
+ authIn: "body";
904
+ encoding: "application/x-www-form-urlencoded";
905
+ url: (config: any) => string;
906
+ };
907
+ } & import("citra").ProviderConfig) | ({
908
+ authorizationUrl: string;
909
+ isOIDC: false;
910
+ isRefreshable: true;
911
+ PKCEMethod: "S256";
912
+ profileRequest: {
913
+ authIn: "header";
914
+ encoding: "application/json";
915
+ method: "GET";
916
+ url: string;
917
+ };
918
+ scopeRequired: false;
919
+ subject: string[];
920
+ subjectType: "number";
921
+ tokenRequest: {
922
+ authIn: "body";
923
+ encoding: "application/x-www-form-urlencoded";
924
+ url: string;
925
+ };
926
+ } & import("citra").ProviderConfig) | ({
927
+ authorizationUrl: string;
928
+ isOIDC: false;
929
+ isRefreshable: true;
930
+ profileRequest: {
931
+ authIn: "header";
932
+ encoding: "application/json";
933
+ method: "GET";
934
+ url: string;
935
+ };
936
+ scopeRequired: false;
937
+ subject: string[];
938
+ subjectType: "number";
939
+ tokenRequest: {
940
+ authIn: "body";
941
+ encoding: "application/x-www-form-urlencoded";
942
+ url: string;
943
+ };
944
+ } & import("citra").ProviderConfig) | ({
945
+ authorizationUrl: (config: any) => string;
946
+ isOIDC: true;
947
+ isRefreshable: true;
948
+ PKCEMethod: "S256";
949
+ scopeRequired: false;
950
+ subject: string[];
951
+ subjectType: "string";
952
+ tokenRequest: {
953
+ authIn: "body";
954
+ encoding: "application/x-www-form-urlencoded";
955
+ url: (config: any) => string;
956
+ };
957
+ } & import("citra").ProviderConfig) | ({
958
+ authorizationUrl: (config: any) => string;
959
+ isOIDC: true;
960
+ isRefreshable: true;
961
+ PKCEMethod: "S256";
962
+ profileRequest: {
963
+ authIn: "header";
964
+ encoding: "application/json";
965
+ method: "GET";
966
+ url: string;
967
+ };
968
+ scopeRequired: false;
969
+ subject: string[];
970
+ subjectType: "string";
971
+ tokenRequest: {
972
+ authIn: "body";
973
+ encoding: "application/x-www-form-urlencoded";
974
+ url: (config: any) => string;
975
+ };
976
+ } & import("citra").ProviderConfig) | ({
977
+ authorizationUrl: string;
978
+ isOIDC: false;
979
+ isRefreshable: true;
980
+ profileRequest: {
981
+ authIn: "header";
982
+ body: {
983
+ query: string;
984
+ };
985
+ encoding: "application/json";
986
+ headers: {
987
+ "Content-Type": string;
988
+ };
989
+ method: "POST";
990
+ url: string;
991
+ };
992
+ scopeRequired: true;
993
+ subject: string[];
994
+ subjectType: "number";
995
+ tokenRequest: {
996
+ authIn: "body";
997
+ encoding: "application/x-www-form-urlencoded";
998
+ url: string;
999
+ };
1000
+ } & import("citra").ProviderConfig) | ({
1001
+ authorizationUrl: string;
1002
+ isOIDC: false;
1003
+ isRefreshable: true;
1004
+ PKCEMethod: "plain";
1005
+ profileRequest: {
1006
+ authIn: "header";
1007
+ encoding: "application/json";
1008
+ method: "GET";
1009
+ url: string;
1010
+ };
1011
+ scopeRequired: false;
1012
+ subject: string[];
1013
+ subjectType: "number";
1014
+ tokenRequest: {
1015
+ authIn: "body";
1016
+ encoding: "application/x-www-form-urlencoded";
1017
+ url: string;
1018
+ };
1019
+ } & import("citra").ProviderConfig) | ({
1020
+ authorizationUrl: string;
1021
+ email: string[];
1022
+ fullName: string[];
1023
+ isOIDC: false;
1024
+ isRefreshable: true;
1025
+ picture: string[];
1026
+ profileRequest: {
1027
+ authIn: "header";
1028
+ encoding: "application/json";
1029
+ method: "GET";
1030
+ url: string;
1031
+ };
1032
+ scopeRequired: false;
1033
+ subject: string[];
1034
+ subjectType: "string";
1035
+ tokenRequest: {
1036
+ authIn: "body";
1037
+ encoding: "application/x-www-form-urlencoded";
1038
+ url: string;
1039
+ };
1040
+ } & import("citra").ProviderConfig) | ({
1041
+ authorizationUrl: string;
1042
+ email: string[];
1043
+ isOIDC: false;
1044
+ isRefreshable: false;
1045
+ picture: string[];
1046
+ profileRequest: {
1047
+ authIn: "header";
1048
+ encoding: "application/json";
1049
+ headers: {
1050
+ "Notion-Version": string;
1051
+ };
1052
+ method: "GET";
1053
+ url: string;
1054
+ };
1055
+ scopeRequired: false;
1056
+ subject: string[];
1057
+ subjectType: "string";
1058
+ tokenRequest: {
1059
+ authIn: "header";
1060
+ encoding: "application/json";
1061
+ url: string;
1062
+ };
1063
+ } & import("citra").ProviderConfig) | ({
1064
+ authorizationUrl: (config: any) => string;
1065
+ isOIDC: true;
1066
+ isRefreshable: true;
1067
+ PKCEMethod: "S256";
1068
+ profileRequest: {
1069
+ authIn: "header";
1070
+ encoding: "application/json";
1071
+ method: "GET";
1072
+ url: (config: any) => string;
1073
+ };
1074
+ revocationRequest: {
1075
+ authIn: "body";
1076
+ encoding: "application/json";
1077
+ tokenParamName: "token";
1078
+ url: (config: any) => string;
1079
+ };
1080
+ scopeRequired: true;
1081
+ subject: string[];
1082
+ subjectType: "string";
1083
+ tokenRequest: {
1084
+ authIn: "body";
1085
+ encoding: "application/x-www-form-urlencoded";
1086
+ url: (config: any) => string;
1087
+ };
1088
+ } & import("citra").ProviderConfig) | ({
1089
+ authorizationUrl: string;
1090
+ email: string[];
1091
+ familyName: string[];
1092
+ fullName: string[];
1093
+ givenName: string[];
1094
+ isOIDC: true;
1095
+ isRefreshable: true;
1096
+ picture: string[];
1097
+ PKCEMethod: "S256";
1098
+ profileRequest: {
1099
+ authIn: "header";
1100
+ encoding: "application/json";
1101
+ method: "GET";
1102
+ url: string;
1103
+ };
1104
+ revocationRequest: {
1105
+ authIn: "body";
1106
+ encoding: "application/x-www-form-urlencoded";
1107
+ tokenParamName: "token";
1108
+ url: string;
1109
+ };
1110
+ scopeRequired: true;
1111
+ subject: string[];
1112
+ subjectType: "string";
1113
+ tokenRequest: {
1114
+ authIn: "body";
1115
+ encoding: "application/x-www-form-urlencoded";
1116
+ url: string;
1117
+ };
1118
+ } & import("citra").ProviderConfig) | ({
1119
+ authorizationUrl: string;
1120
+ isOIDC: false;
1121
+ isRefreshable: true;
1122
+ picture: string[];
1123
+ profileRequest: {
1124
+ authIn: "header";
1125
+ encoding: "application/json";
1126
+ method: "GET";
1127
+ url: string;
1128
+ };
1129
+ scopeRequired: false;
1130
+ subject: string[];
1131
+ subjectType: "number";
1132
+ tokenRequest: {
1133
+ authIn: "body";
1134
+ encoding: "application/x-www-form-urlencoded";
1135
+ url: string;
1136
+ };
1137
+ } & import("citra").ProviderConfig) | ({
1138
+ authorizationUrl: string;
1139
+ isOIDC: false;
1140
+ isRefreshable: true;
1141
+ profileRequest: {
1142
+ authIn: "header";
1143
+ encoding: "application/json";
1144
+ method: "GET";
1145
+ url: string;
1146
+ };
1147
+ scopeRequired: false;
1148
+ subject: string[];
1149
+ subjectType: "string";
1150
+ tokenRequest: {
1151
+ authIn: "body";
1152
+ encoding: "application/x-www-form-urlencoded";
1153
+ url: string;
1154
+ };
1155
+ } & import("citra").ProviderConfig) | ({
1156
+ authorizationUrl: string;
1157
+ isOIDC: false;
1158
+ isRefreshable: true;
1159
+ profileRequest: {
1160
+ authIn: "header";
1161
+ encoding: "application/json";
1162
+ method: "GET";
1163
+ url: string;
1164
+ };
1165
+ scopeRequired: true;
1166
+ subject: string[];
1167
+ subjectType: "number";
1168
+ tokenRequest: {
1169
+ authIn: "body";
1170
+ encoding: "application/x-www-form-urlencoded";
1171
+ url: string;
1172
+ };
1173
+ } & import("citra").ProviderConfig) | ({
1174
+ authorizationUrl: string;
1175
+ isOIDC: true;
1176
+ isRefreshable: true;
1177
+ PKCEMethod: "S256";
1178
+ profileRequest: {
1179
+ authIn: "header";
1180
+ encoding: "application/json";
1181
+ method: "GET";
1182
+ url: string;
1183
+ };
1184
+ revocationRequest: {
1185
+ authIn: "body";
1186
+ encoding: "application/json";
1187
+ tokenParamName: "token";
1188
+ url: string;
1189
+ };
1190
+ scopeRequired: true;
1191
+ subject: string[];
1192
+ subjectType: "string";
1193
+ tokenRequest: {
1194
+ authIn: "body";
1195
+ encoding: "application/x-www-form-urlencoded";
1196
+ url: string;
1197
+ };
1198
+ } & import("citra").ProviderConfig) | ({
1199
+ authorizationUrl: string;
1200
+ isOIDC: false;
1201
+ isRefreshable: false;
1202
+ PKCEMethod: "S256";
1203
+ profileRequest: {
1204
+ authIn: "header";
1205
+ encoding: "application/json";
1206
+ method: "GET";
1207
+ url: string;
1208
+ };
1209
+ scopeRequired: false;
1210
+ subject: string[];
1211
+ subjectType: "number";
1212
+ tokenRequest: {
1213
+ authIn: "header";
1214
+ encoding: "application/x-www-form-urlencoded";
1215
+ url: string;
1216
+ };
1217
+ } & import("citra").ProviderConfig) | ({
1218
+ authorizationUrl: string;
1219
+ isOIDC: false;
1220
+ isRefreshable: true;
1221
+ PKCEMethod: "S256";
1222
+ profileRequest: {
1223
+ authIn: "header";
1224
+ encoding: "application/json";
1225
+ method: "GET";
1226
+ url: string;
1227
+ };
1228
+ scopeRequired: false;
1229
+ subject: string[];
1230
+ subjectType: "number";
1231
+ tokenRequest: {
1232
+ authIn: "header";
1233
+ encoding: "application/x-www-form-urlencoded";
1234
+ url: string;
1235
+ };
1236
+ } & import("citra").ProviderConfig) | ({
1237
+ authorizationUrl: string;
1238
+ isOIDC: false;
1239
+ isRefreshable: true;
1240
+ profileRequest: {
1241
+ authIn: "header";
1242
+ encoding: "application/json";
1243
+ method: "GET";
1244
+ url: string;
1245
+ };
1246
+ revocationRequest: {
1247
+ authIn: "header";
1248
+ body: URLSearchParams;
1249
+ encoding: "application/json";
1250
+ inputSource: "refreshToken";
1251
+ url: string;
1252
+ };
1253
+ scopeRequired: true;
1254
+ subject: string[];
1255
+ subjectType: "string";
1256
+ tokenRequest: {
1257
+ authIn: "header";
1258
+ encoding: "application/x-www-form-urlencoded";
1259
+ url: string;
1260
+ };
1261
+ } & import("citra").ProviderConfig) | ({
1262
+ authorizationUrl: string;
1263
+ isOIDC: true;
1264
+ isRefreshable: true;
1265
+ picture: string[];
1266
+ PKCEMethod: "S256";
1267
+ profileRequest: {
1268
+ authIn: "header";
1269
+ encoding: "application/json";
1270
+ method: "GET";
1271
+ url: string;
1272
+ };
1273
+ scopeRequired: true;
1274
+ subject: string[];
1275
+ subjectType: "string";
1276
+ tokenRequest: {
1277
+ authIn: "body";
1278
+ encoding: "application/x-www-form-urlencoded";
1279
+ url: string;
1280
+ };
1281
+ } & import("citra").ProviderConfig) | ({
1282
+ authorizationUrl: string;
1283
+ isOIDC: true;
1284
+ isRefreshable: true;
1285
+ PKCEMethod: "S256";
1286
+ profileRequest: {
1287
+ authIn: "header";
1288
+ encoding: "application/json";
1289
+ method: "GET";
1290
+ url: string;
1291
+ };
1292
+ revocationRequest: {
1293
+ authIn: "header";
1294
+ encoding: "application/json";
1295
+ url: string;
1296
+ };
1297
+ scopeRequired: false;
1298
+ subject: string[];
1299
+ subjectType: "string";
1300
+ tokenRequest: {
1301
+ authIn: "body";
1302
+ encoding: "application/x-www-form-urlencoded";
1303
+ url: string;
1304
+ };
1305
+ } & import("citra").ProviderConfig) | ({
1306
+ authorizationUrl: string;
1307
+ isOIDC: false;
1308
+ isRefreshable: true;
1309
+ profileRequest: {
1310
+ authIn: "header";
1311
+ encoding: "application/json";
1312
+ method: "GET";
1313
+ url: string;
1314
+ };
1315
+ scopeRequired: false;
1316
+ subject: string[];
1317
+ subjectType: "number";
1318
+ tokenRequest: {
1319
+ authIn: "body";
1320
+ encoding: "application/x-www-form-urlencoded";
1321
+ url: string;
1322
+ };
1323
+ } & import("citra").ProviderConfig) | ({
1324
+ authorizationUrl: string;
1325
+ isOIDC: true;
1326
+ isRefreshable: true;
1327
+ profileRequest: {
1328
+ authIn: "query";
1329
+ encoding: "application/json";
1330
+ method: "GET";
1331
+ url: string;
1332
+ };
1333
+ revocationRequest: {
1334
+ authIn: "body";
1335
+ encoding: "application/json";
1336
+ tokenParamName: "token";
1337
+ url: string;
1338
+ };
1339
+ scopeRequired: true;
1340
+ subject: string[];
1341
+ subjectType: "string";
1342
+ tokenRequest: {
1343
+ authIn: "body";
1344
+ encoding: "application/x-www-form-urlencoded";
1345
+ url: string;
1346
+ };
1347
+ } & import("citra").ProviderConfig) | ({
1348
+ accessTokenPath: string[];
1349
+ authorizationUrl: string;
1350
+ isOIDC: false;
1351
+ isRefreshable: false;
1352
+ profileRequest: {
1353
+ authIn: "header";
1354
+ encoding: "application/json";
1355
+ method: "POST";
1356
+ url: string;
1357
+ };
1358
+ revocationRequest: {
1359
+ authIn: "body";
1360
+ encoding: "application/json";
1361
+ tokenParamName: "token";
1362
+ url: string;
1363
+ };
1364
+ scopeParamName: string;
1365
+ scopeRequired: true;
1366
+ subject: string[];
1367
+ subjectType: "string";
1368
+ tokenRequest: {
1369
+ authIn: "body";
1370
+ encoding: "application/x-www-form-urlencoded";
1371
+ url: string;
1372
+ };
1373
+ } & import("citra").ProviderConfig) | ({
1374
+ authorizationUrl: string;
1375
+ isOIDC: false;
1376
+ isRefreshable: true;
1377
+ PKCEMethod: "S256";
1378
+ profileRequest: {
1379
+ authIn: "header";
1380
+ encoding: "application/json";
1381
+ method: "GET";
1382
+ url: string;
1383
+ };
1384
+ scopeRequired: false;
1385
+ subject: string[];
1386
+ subjectType: "string";
1387
+ tokenRequest: {
1388
+ authIn: "body";
1389
+ encoding: "application/x-www-form-urlencoded";
1390
+ url: string;
1391
+ };
1392
+ } & import("citra").ProviderConfig) | ({
1393
+ authorizationUrl: string;
1394
+ email: string[];
1395
+ isOIDC: false;
1396
+ isRefreshable: true;
1397
+ profileRequest: {
1398
+ authIn: "header";
1399
+ body: {
1400
+ query: string;
1401
+ };
1402
+ encoding: "application/json";
1403
+ headers: {
1404
+ Accept: string;
1405
+ "Content-Type": string;
1406
+ };
1407
+ method: "POST";
1408
+ url: string;
1409
+ };
1410
+ scopeRequired: false;
1411
+ subject: string[];
1412
+ subjectType: "number";
1413
+ tokenRequest: {
1414
+ authIn: "body";
1415
+ encoding: "application/x-www-form-urlencoded";
1416
+ url: string;
1417
+ };
1418
+ } & import("citra").ProviderConfig) | ({
1419
+ authorizationUrl: string;
1420
+ familyName: string[];
1421
+ givenName: string[];
1422
+ isOIDC: false;
1423
+ isRefreshable: true;
1424
+ picture: string[];
1425
+ PKCEMethod: "S256";
1426
+ profileRequest: {
1427
+ authIn: "header";
1428
+ encoding: "application/json";
1429
+ method: "GET";
1430
+ url: string;
1431
+ };
1432
+ revocationRequest: {
1433
+ authIn: "query";
1434
+ body: URLSearchParams;
1435
+ encoding: "application/json";
1436
+ tokenParamName: "access_token";
1437
+ url: string;
1438
+ };
1439
+ scopeRequired: false;
1440
+ subject: string[];
1441
+ subjectType: "number";
1442
+ tokenRequest: {
1443
+ authIn: "body";
1444
+ encoding: "application/x-www-form-urlencoded";
1445
+ url: string;
1446
+ };
1447
+ } & import("citra").ProviderConfig) | ({
1448
+ authorizationUrl: (config: any) => string;
1449
+ isOIDC: false;
1450
+ isRefreshable: false;
1451
+ profileRequest: {
1452
+ authIn: "header";
1453
+ encoding: "application/json";
1454
+ method: "GET";
1455
+ url: (config: any) => string;
1456
+ };
1457
+ scopeRequired: false;
1458
+ subject: string[];
1459
+ subjectType: "number";
1460
+ tokenRequest: {
1461
+ authIn: "body";
1462
+ encoding: "application/x-www-form-urlencoded";
1463
+ url: (config: any) => string;
1464
+ };
1465
+ } & import("citra").ProviderConfig) | ({
1466
+ authorizationUrl: string;
1467
+ createAuthorizationURLSearchParams: (config: any) => {
1468
+ client_key: any;
1469
+ };
1470
+ isOIDC: false;
1471
+ isRefreshable: true;
1472
+ PKCEMethod: "S256";
1473
+ profileRequest: {
1474
+ authIn: "query";
1475
+ encoding: "application/json";
1476
+ method: "GET";
1477
+ url: string;
1478
+ };
1479
+ revocationRequest: {
1480
+ authIn: "body";
1481
+ encoding: "application/json";
1482
+ tokenParamName: "token";
1483
+ url: string;
1484
+ };
1485
+ scopeRequired: false;
1486
+ subject: string[];
1487
+ subjectType: "string";
1488
+ tokenRequest: {
1489
+ authIn: "body";
1490
+ encoding: "application/x-www-form-urlencoded";
1491
+ url: string;
1492
+ };
1493
+ } & import("citra").ProviderConfig) | ({
1494
+ authorizationUrl: string;
1495
+ isOIDC: false;
1496
+ isRefreshable: true;
1497
+ profileRequest: {
1498
+ authIn: "header";
1499
+ encoding: "application/json";
1500
+ method: "GET";
1501
+ url: string;
1502
+ };
1503
+ scopeRequired: false;
1504
+ subject: string[];
1505
+ subjectType: "string";
1506
+ tokenRequest: {
1507
+ authIn: "body";
1508
+ encoding: "application/x-www-form-urlencoded";
1509
+ url: string;
1510
+ };
1511
+ } & import("citra").ProviderConfig) | ({
1512
+ authorizationUrl: string;
1513
+ isOIDC: false;
1514
+ isRefreshable: true;
1515
+ profileRequest: {
1516
+ authIn: "header";
1517
+ encoding: "application/json";
1518
+ method: "GET";
1519
+ url: string;
1520
+ };
1521
+ scopeRequired: false;
1522
+ subject: string[];
1523
+ subjectType: "string";
1524
+ tokenRequest: {
1525
+ authIn: "body";
1526
+ encoding: "application/x-www-form-urlencoded";
1527
+ url: string;
1528
+ };
1529
+ } & import("citra").ProviderConfig) | ({
1530
+ authorizationUrl: string;
1531
+ isOIDC: true;
1532
+ isRefreshable: true;
1533
+ profileRequest: {
1534
+ authIn: "header";
1535
+ encoding: "application/json";
1536
+ headers: (config: any) => {
1537
+ "Client-Id": any;
1538
+ };
1539
+ method: "GET";
1540
+ url: string;
1541
+ };
1542
+ revocationRequest: {
1543
+ authIn: "query";
1544
+ encoding: "application/json";
1545
+ headers: (config: any) => {
1546
+ "Client-Id": any;
1547
+ };
1548
+ tokenParamName: "token";
1549
+ url: string;
1550
+ };
1551
+ scopeRequired: false;
1552
+ subject: string[];
1553
+ subjectType: "string";
1554
+ tokenRequest: {
1555
+ authIn: "body";
1556
+ encoding: "application/x-www-form-urlencoded";
1557
+ url: string;
1558
+ };
1559
+ } & import("citra").ProviderConfig) | ({
1560
+ authorizationUrl: string;
1561
+ isOIDC: false;
1562
+ isRefreshable: true;
1563
+ PKCEMethod: "S256";
1564
+ profileRequest: {
1565
+ authIn: "header";
1566
+ encoding: "application/json";
1567
+ method: "GET";
1568
+ url: string;
1569
+ };
1570
+ revocationRequest: {
1571
+ authIn: "header";
1572
+ encoding: "application/json";
1573
+ url: string;
1574
+ };
1575
+ scopeRequired: false;
1576
+ subject: string[];
1577
+ subjectType: "number";
1578
+ tokenRequest: {
1579
+ authIn: "body";
1580
+ encoding: "application/x-www-form-urlencoded";
1581
+ url: string;
1582
+ };
1583
+ } & import("citra").ProviderConfig) | ({
1584
+ authorizationUrl: string;
1585
+ isOIDC: false;
1586
+ isRefreshable: false;
1587
+ profileRequest: {
1588
+ authIn: "query";
1589
+ encoding: "application/json";
1590
+ method: "GET";
1591
+ url: string;
1592
+ };
1593
+ scopeRequired: false;
1594
+ subject: string[];
1595
+ subjectType: "number";
1596
+ tokenRequest: {
1597
+ authIn: "body";
1598
+ encoding: "application/x-www-form-urlencoded";
1599
+ url: string;
1600
+ };
1601
+ } & import("citra").ProviderConfig) | ({
1602
+ accessTokenPath: string[];
1603
+ authorizationUrl: string;
1604
+ isOIDC: false;
1605
+ isRefreshable: true;
1606
+ refreshAccessTokenBody: {
1607
+ action: string;
1608
+ };
1609
+ revocationRequest: {
1610
+ authIn: "body";
1611
+ body: (config: any) => Promise<{
1612
+ action: string;
1613
+ client_id: string;
1614
+ nonce: string;
1615
+ signature: string;
1616
+ }>;
1617
+ encoding: "application/x-www-form-urlencoded";
1618
+ includeClientCredentials: false;
1619
+ inputSource: "subject";
1620
+ inputType: "number";
1621
+ tokenParamName: "userid";
1622
+ url: string;
1623
+ validateResponse: (value: unknown) => void;
1624
+ };
1625
+ scopeDelimiter: string;
1626
+ scopeRequired: true;
1627
+ subject: string[];
1628
+ subjectBySource: {
1629
+ tokenResponse: string[];
1630
+ };
1631
+ subjectType: "number";
1632
+ tokenRequest: {
1633
+ authIn: "body";
1634
+ encoding: "application/x-www-form-urlencoded";
1635
+ url: string;
1636
+ };
1637
+ validateAuthorizationCodeBody: {
1638
+ action: string;
1639
+ };
1640
+ } & import("citra").ProviderConfig) | ({
1641
+ authorizationUrl: (config: any) => string;
1642
+ createAuthorizationURLSearchParams: () => {
1643
+ nonce: `${string}-${string}-${string}-${string}-${string}`;
1644
+ };
1645
+ email: string[];
1646
+ familyName: string[];
1647
+ fullName: string[];
1648
+ givenName: string[];
1649
+ isOIDC: true;
1650
+ isRefreshable: true;
1651
+ PKCEMethod: "S256";
1652
+ profileRequest: {
1653
+ authIn: "header";
1654
+ encoding: "application/json";
1655
+ method: "POST";
1656
+ url: (config: any) => string;
1657
+ };
1658
+ scopeRequired: false;
1659
+ subject: string[];
1660
+ subjectType: "string";
1661
+ tokenRequest: {
1662
+ authIn: "body";
1663
+ encoding: "application/x-www-form-urlencoded";
1664
+ url: (config: any) => string;
1665
+ };
1666
+ } & import("citra").ProviderConfig) | ({
1667
+ authorizationUrl: string;
1668
+ isOIDC: true;
1669
+ isRefreshable: true;
1670
+ PKCEMethod: "S256";
1671
+ profileRequest: {
1672
+ authIn: "header";
1673
+ encoding: "application/json";
1674
+ method: "GET";
1675
+ url: string;
1676
+ };
1677
+ revocationRequest: {
1678
+ authIn: "header";
1679
+ encoding: "application/json";
1680
+ url: string;
1681
+ };
1682
+ scopeRequired: false;
1683
+ subject: string[];
1684
+ subjectType: "string";
1685
+ tokenRequest: {
1686
+ authIn: "body";
1687
+ encoding: "application/x-www-form-urlencoded";
1688
+ url: string;
1689
+ };
1690
+ } & import("citra").ProviderConfig) | ({
1691
+ authorizationUrl: string;
1692
+ createAuthorizationURLSearchParams: {
1693
+ device_id: `${string}-${string}-${string}-${string}-${string}`;
1694
+ device_name: string;
1695
+ };
1696
+ email: string[];
1697
+ familyName: string[];
1698
+ fullName: string[];
1699
+ givenName: string[];
1700
+ isOIDC: false;
1701
+ isRefreshable: true;
1702
+ PKCEMethod: "S256";
1703
+ profileRequest: {
1704
+ authIn: "header";
1705
+ encoding: "application/json";
1706
+ method: "GET";
1707
+ url: string;
1708
+ };
1709
+ revocationRequest: {
1710
+ authIn: "body";
1711
+ encoding: "application/json";
1712
+ tokenParamName: "access_token";
1713
+ url: string;
1714
+ };
1715
+ scopeRequired: false;
1716
+ subject: string[];
1717
+ subjectType: "string";
1718
+ tokenRequest: {
1719
+ authIn: "body";
1720
+ encoding: "application/x-www-form-urlencoded";
1721
+ url: string;
1722
+ };
1723
+ } & import("citra").ProviderConfig) | ({
1724
+ authorizationUrl: (config: any) => string;
1725
+ isOIDC: false;
1726
+ isRefreshable: true;
1727
+ PKCEMethod: "S256";
1728
+ profileRequest: {
1729
+ authIn: "header";
1730
+ encoding: "application/json";
1731
+ method: "GET";
1732
+ url: (config: any) => string;
1733
+ };
1734
+ revocationRequest: {
1735
+ authIn: "query";
1736
+ encoding: "application/x-www-form-urlencoded";
1737
+ tokenParamName: "token";
1738
+ url: (config: any) => string;
1739
+ };
1740
+ scopeRequired: true;
1741
+ subject: string[];
1742
+ subjectType: "string";
1743
+ tokenRequest: {
1744
+ authIn: "body";
1745
+ encoding: "application/x-www-form-urlencoded";
1746
+ url: (config: any) => string;
1747
+ };
1748
+ } & import("citra").ProviderConfig) | ({
1749
+ authorizationUrl: string;
1750
+ email: string[];
1751
+ familyName: string[];
1752
+ givenName: string[];
1753
+ isOIDC: false;
1754
+ isRefreshable: true;
1755
+ picture: string[];
1756
+ PKCEMethod: "S256";
1757
+ profileRequest: {
1758
+ authIn: "header";
1759
+ encoding: "application/json";
1760
+ method: "GET";
1761
+ url: string;
1762
+ };
1763
+ revocationRequest: {
1764
+ authIn: "query";
1765
+ encoding: "application/json";
1766
+ headers: (config: any) => {
1767
+ Authorization: string;
1768
+ };
1769
+ tokenParamName: "token";
1770
+ url: string;
1771
+ };
1772
+ scopeRequired: false;
1773
+ subject: string[];
1774
+ subjectType: "string";
1775
+ tokenRequest: {
1776
+ authIn: "body";
1777
+ encoding: "application/x-www-form-urlencoded";
1778
+ url: string;
1779
+ };
1780
+ } & import("citra").ProviderConfig);
1781
+ providerInstance: OAuth2Client<"42" | "amazoncognito" | "anilist" | "apple" | "atlassian" | "attio" | "auth0" | "authentik" | "autodesk" | "azureadb2c" | "battlenet" | "bitbucket" | "box" | "bungie" | "calendly" | "close" | "coinbase" | "discord" | "donationalerts" | "dribbble" | "dropbox" | "epicgames" | "etsy" | "facebook" | "figma" | "gitea" | "github" | "gitlab" | "gohighlevel" | "google" | "hubspot" | "intuit" | "kakao" | "keycloak" | "kick" | "lichess" | "line" | "linear" | "linkedin" | "mastodon" | "mercadolibre" | "mercadopago" | "microsoftentraexternalid" | "microsoftentraid" | "monday" | "myanimelist" | "naver" | "notion" | "okta" | "onspark" | "osu" | "patreon" | "pipedrive" | "polar" | "polaraccesslink" | "polarteampro" | "reddit" | "roblox" | "salesforce" | "shikimori" | "slack" | "slackuser" | "spotify" | "startgg" | "strava" | "synology" | "tiktok" | "tiltify" | "tumblr" | "twitch" | "twitter" | "vk" | "withings" | "workos" | "yahoo" | "yandex" | "zoho" | "zoom">;
1782
+ requiresPKCE: boolean;
1783
+ scope: string[] | undefined;
1784
+ searchParams: [string, string][] | undefined;
1785
+ };
1786
+ };
1787
+ isSingleClient: boolean;
1788
+ };
1789
+ }>;
1790
+ export declare const normalizeProvidersConfiguration: (providersConfiguration: OAuth2ConfigurationOptions) => {
1791
+ [k: string]: {
1792
+ [k: string]: OAuth2ProviderClientConfiguration<"42" | "amazoncognito" | "anilist" | "apple" | "atlassian" | "attio" | "auth0" | "authentik" | "autodesk" | "azureadb2c" | "battlenet" | "bitbucket" | "box" | "bungie" | "calendly" | "close" | "coinbase" | "discord" | "donationalerts" | "dribbble" | "dropbox" | "epicgames" | "etsy" | "facebook" | "figma" | "gitea" | "github" | "gitlab" | "gohighlevel" | "google" | "hubspot" | "intuit" | "kakao" | "keycloak" | "kick" | "lichess" | "line" | "linear" | "linkedin" | "mastodon" | "mercadolibre" | "mercadopago" | "microsoftentraexternalid" | "microsoftentraid" | "monday" | "myanimelist" | "naver" | "notion" | "okta" | "onspark" | "osu" | "patreon" | "pipedrive" | "polar" | "polaraccesslink" | "polarteampro" | "reddit" | "roblox" | "salesforce" | "shikimori" | "slack" | "slackuser" | "spotify" | "startgg" | "strava" | "synology" | "tiktok" | "tiltify" | "tumblr" | "twitch" | "twitter" | "vk" | "withings" | "workos" | "yahoo" | "yandex" | "zoho" | "zoom">;
1793
+ };
1794
+ };
1795
+ export declare const resolveClientProviderEntry: ({ clientName, clientProviders, providerName }: {
1796
+ providerName: string | undefined;
1797
+ clientName?: string;
1798
+ clientProviders: Record<string, ClientProviderGroup>;
1799
+ }) => {
1800
+ error: "Provider is required";
1801
+ entry?: undefined;
1802
+ } | {
1803
+ error: "Client provider not found";
1804
+ entry?: undefined;
1805
+ } | {
1806
+ entry: ClientProviderEntry;
1807
+ readonly error?: undefined;
1808
+ } | {
1809
+ error: "Client variant is required";
1810
+ entry?: undefined;
1811
+ } | {
1812
+ error: "Client variant not found";
1813
+ entry?: undefined;
1814
+ };
1815
+ export declare const resolveProviderClientConfiguration: ({ clientName, providerName, providersConfiguration }: {
1816
+ providerName: ProviderOption;
1817
+ clientName?: string;
1818
+ providersConfiguration: OAuth2ConfigurationOptions;
1819
+ }) => {
1820
+ error: "Client provider not found";
1821
+ config?: undefined;
1822
+ } | {
1823
+ config: OAuth2ProviderClientConfiguration<"42" | "amazoncognito" | "anilist" | "apple" | "atlassian" | "attio" | "auth0" | "authentik" | "autodesk" | "azureadb2c" | "battlenet" | "bitbucket" | "box" | "bungie" | "calendly" | "close" | "coinbase" | "discord" | "donationalerts" | "dribbble" | "dropbox" | "epicgames" | "etsy" | "facebook" | "figma" | "gitea" | "github" | "gitlab" | "gohighlevel" | "google" | "hubspot" | "intuit" | "kakao" | "keycloak" | "kick" | "lichess" | "line" | "linear" | "linkedin" | "mastodon" | "mercadolibre" | "mercadopago" | "microsoftentraexternalid" | "microsoftentraid" | "monday" | "myanimelist" | "naver" | "notion" | "okta" | "onspark" | "osu" | "patreon" | "pipedrive" | "polar" | "polaraccesslink" | "polarteampro" | "reddit" | "roblox" | "salesforce" | "shikimori" | "slack" | "slackuser" | "spotify" | "startgg" | "strava" | "synology" | "tiktok" | "tiltify" | "tumblr" | "twitch" | "twitter" | "vk" | "withings" | "workos" | "yahoo" | "yandex" | "zoho" | "zoom"> | undefined;
1824
+ readonly error?: undefined;
1825
+ } | {
1826
+ error: "Client variant is required";
1827
+ config?: undefined;
1828
+ } | {
1829
+ error: "Client variant not found";
1830
+ config?: undefined;
1831
+ };