authhero 0.28.0 → 0.30.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.
@@ -4425,6 +4425,8 @@ export type Bindings = {
4425
4425
  emailProviders?: {
4426
4426
  [key: string]: EmailService;
4427
4427
  };
4428
+ DEFAULT_TENANT_ID?: string;
4429
+ DEFAULT_CLIENT_ID?: string;
4428
4430
  JWKS_CACHE_TIMEOUT_IN_SECONDS: number;
4429
4431
  ORGANIZATION_NAME: string;
4430
4432
  };
@@ -6194,6 +6196,60 @@ export declare function init(config: AuthHeroConfig): {
6194
6196
  Bindings: Bindings;
6195
6197
  Variables: Variables;
6196
6198
  }, import("hono/types").MergeSchemaPath<{
6199
+ "/start": {
6200
+ $post: {
6201
+ input: {
6202
+ json: {
6203
+ email: string;
6204
+ client_id: string;
6205
+ connection: string;
6206
+ authParams: {
6207
+ username?: string | undefined;
6208
+ audience?: string | undefined;
6209
+ scope?: string | undefined;
6210
+ response_type?: AuthorizationResponseType | undefined;
6211
+ response_mode?: AuthorizationResponseMode | undefined;
6212
+ redirect_uri?: string | undefined;
6213
+ code_challenge_method?: CodeChallengeMethod | undefined;
6214
+ vendor_id?: string | undefined;
6215
+ act_as?: string | undefined;
6216
+ state?: string | undefined;
6217
+ nonce?: string | undefined;
6218
+ prompt?: string | undefined;
6219
+ code_challenge?: string | undefined;
6220
+ ui_locales?: string | undefined;
6221
+ };
6222
+ send: "code" | "link";
6223
+ };
6224
+ };
6225
+ output: {};
6226
+ outputFormat: string;
6227
+ status: 200;
6228
+ };
6229
+ };
6230
+ } & {
6231
+ "/verify_redirect": {
6232
+ $get: {
6233
+ input: {
6234
+ query: {
6235
+ email: string;
6236
+ client_id: string;
6237
+ connection: string;
6238
+ scope: string;
6239
+ response_type: AuthorizationResponseType;
6240
+ redirect_uri: string;
6241
+ state: string;
6242
+ verification_code: string;
6243
+ audience?: string | undefined;
6244
+ nonce?: string | undefined;
6245
+ };
6246
+ };
6247
+ output: {};
6248
+ outputFormat: string;
6249
+ status: 302;
6250
+ };
6251
+ };
6252
+ }, "/passwordless"> & import("hono/types").MergeSchemaPath<{
6197
6253
  "/signup": {
6198
6254
  $post: {
6199
6255
  input: {