authhero 0.36.2 → 0.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,7 @@ export type Variables = {
10
10
  username?: string;
11
11
  connection?: string;
12
12
  body?: any;
13
+ log?: string;
13
14
  user?: {
14
15
  sub: string;
15
16
  tenant_id: string;
@@ -4461,6 +4462,7 @@ export type Bindings = {
4461
4462
  };
4462
4463
  JWKS_CACHE_TIMEOUT_IN_SECONDS: number;
4463
4464
  ORGANIZATION_NAME: string;
4465
+ API_URL: string;
4464
4466
  };
4465
4467
  export interface AuthHeroConfig {
4466
4468
  dataAdapter: DataAdapters;
@@ -4677,9 +4679,9 @@ export declare function init(config: AuthHeroConfig): {
4677
4679
  discovery_url?: string | undefined;
4678
4680
  } | undefined;
4679
4681
  response_mode?: AuthorizationResponseMode | undefined;
4682
+ response_type?: AuthorizationResponseType | undefined;
4680
4683
  id?: string | undefined;
4681
4684
  strategy?: string | undefined;
4682
- response_type?: AuthorizationResponseType | undefined;
4683
4685
  enabled_clients?: string[] | undefined;
4684
4686
  };
4685
4687
  };
@@ -4739,8 +4741,8 @@ export declare function init(config: AuthHeroConfig): {
4739
4741
  discovery_url?: string | undefined;
4740
4742
  } | undefined;
4741
4743
  response_mode?: AuthorizationResponseMode | undefined;
4742
- id?: string | undefined;
4743
4744
  response_type?: AuthorizationResponseType | undefined;
4745
+ id?: string | undefined;
4744
4746
  enabled_clients?: string[] | undefined;
4745
4747
  };
4746
4748
  };
@@ -6275,16 +6277,16 @@ export declare function init(config: AuthHeroConfig): {
6275
6277
  input: {
6276
6278
  query: {
6277
6279
  client_id: string;
6278
- redirect_uri: string;
6279
6280
  state: string;
6281
+ redirect_uri: string;
6280
6282
  nonce?: string | undefined;
6281
6283
  response_mode?: AuthorizationResponseMode | undefined;
6284
+ response_type?: AuthorizationResponseType | undefined;
6282
6285
  connection?: string | undefined;
6283
6286
  audience?: string | undefined;
6284
6287
  scope?: string | undefined;
6285
- response_type?: AuthorizationResponseType | undefined;
6286
- code_challenge_method?: CodeChallengeMethod | undefined;
6287
6288
  auth0Client?: string | undefined;
6289
+ code_challenge_method?: CodeChallengeMethod | undefined;
6288
6290
  vendor_id?: string | undefined;
6289
6291
  prompt?: string | undefined;
6290
6292
  code_challenge?: string | undefined;
@@ -6302,16 +6304,16 @@ export declare function init(config: AuthHeroConfig): {
6302
6304
  input: {
6303
6305
  query: {
6304
6306
  client_id: string;
6305
- redirect_uri: string;
6306
6307
  state: string;
6308
+ redirect_uri: string;
6307
6309
  nonce?: string | undefined;
6308
6310
  response_mode?: AuthorizationResponseMode | undefined;
6311
+ response_type?: AuthorizationResponseType | undefined;
6309
6312
  connection?: string | undefined;
6310
6313
  audience?: string | undefined;
6311
6314
  scope?: string | undefined;
6312
- response_type?: AuthorizationResponseType | undefined;
6313
- code_challenge_method?: CodeChallengeMethod | undefined;
6314
6315
  auth0Client?: string | undefined;
6316
+ code_challenge_method?: CodeChallengeMethod | undefined;
6315
6317
  vendor_id?: string | undefined;
6316
6318
  prompt?: string | undefined;
6317
6319
  code_challenge?: string | undefined;
@@ -6363,15 +6365,15 @@ export declare function init(config: AuthHeroConfig): {
6363
6365
  authParams: {
6364
6366
  nonce?: string | undefined;
6365
6367
  response_mode?: AuthorizationResponseMode | undefined;
6368
+ response_type?: AuthorizationResponseType | undefined;
6366
6369
  username?: string | undefined;
6367
6370
  audience?: string | undefined;
6368
6371
  scope?: string | undefined;
6369
- response_type?: AuthorizationResponseType | undefined;
6372
+ state?: string | undefined;
6370
6373
  redirect_uri?: string | undefined;
6371
6374
  code_challenge_method?: CodeChallengeMethod | undefined;
6372
6375
  vendor_id?: string | undefined;
6373
6376
  act_as?: string | undefined;
6374
- state?: string | undefined;
6375
6377
  prompt?: string | undefined;
6376
6378
  code_challenge?: string | undefined;
6377
6379
  ui_locales?: string | undefined;
@@ -6391,11 +6393,11 @@ export declare function init(config: AuthHeroConfig): {
6391
6393
  query: {
6392
6394
  email: string;
6393
6395
  client_id: string;
6396
+ response_type: AuthorizationResponseType;
6394
6397
  connection: string;
6395
6398
  scope: string;
6396
- response_type: AuthorizationResponseType;
6397
- redirect_uri: string;
6398
6399
  state: string;
6400
+ redirect_uri: string;
6399
6401
  verification_code: string;
6400
6402
  nonce?: string | undefined;
6401
6403
  audience?: string | undefined;
@@ -6456,8 +6458,8 @@ export declare function init(config: AuthHeroConfig): {
6456
6458
  } | {
6457
6459
  code: string;
6458
6460
  client_id: string;
6459
- grant_type: "authorization_code";
6460
6461
  redirect_uri: string;
6462
+ grant_type: "authorization_code";
6461
6463
  code_verifier: string;
6462
6464
  } | {
6463
6465
  code: string;
@@ -6558,6 +6560,10 @@ export declare function init(config: AuthHeroConfig): {
6558
6560
  };
6559
6561
  };
6560
6562
  }, "/v2/logout">, "/">;
6563
+ universalApp: OpenAPIHono<{
6564
+ Bindings: Bindings;
6565
+ Variables: Variables;
6566
+ }, {}, "/">;
6561
6567
  createX509Certificate: typeof createX509Certificate;
6562
6568
  };
6563
6569