authhero 0.7.0 → 0.8.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.
@@ -2997,6 +2997,7 @@ export type Bindings = {
2997
2997
  JWKS_SERVICE: Fetcher;
2998
2998
  data: DataAdapters;
2999
2999
  JWKS_CACHE_TIMEOUT_IN_SECONDS: number;
3000
+ ORGANIZATION_NAME: string;
3000
3001
  };
3001
3002
  export interface AuthHeroConfig {
3002
3003
  dataAdapter: DataAdapters;
@@ -4047,6 +4048,92 @@ export declare function init(config: AuthHeroConfig): {
4047
4048
  };
4048
4049
  };
4049
4050
  }, "/api/v2/users-by-email"> & import("hono/types").MergeSchemaPath<{
4051
+ "/signing": {
4052
+ $get: {
4053
+ input: {
4054
+ header: {
4055
+ "tenant-id": string;
4056
+ };
4057
+ };
4058
+ output: {
4059
+ kid: string;
4060
+ cert: string;
4061
+ fingerprint: string;
4062
+ thumbprint: string;
4063
+ pkcs7?: string | undefined;
4064
+ current?: boolean | undefined;
4065
+ next?: boolean | undefined;
4066
+ previous?: boolean | undefined;
4067
+ current_since?: string | undefined;
4068
+ current_until?: string | undefined;
4069
+ revoked?: boolean | undefined;
4070
+ revoked_at?: string | undefined;
4071
+ }[];
4072
+ outputFormat: "json" | "text";
4073
+ status: 200;
4074
+ };
4075
+ };
4076
+ } & {
4077
+ "/signing/:kid": {
4078
+ $get: {
4079
+ input: {
4080
+ param: {
4081
+ kid: string;
4082
+ };
4083
+ } & {
4084
+ header: {
4085
+ "tenant-id": string;
4086
+ };
4087
+ };
4088
+ output: {
4089
+ kid: string;
4090
+ cert: string;
4091
+ fingerprint: string;
4092
+ thumbprint: string;
4093
+ pkcs7?: string | undefined;
4094
+ current?: boolean | undefined;
4095
+ next?: boolean | undefined;
4096
+ previous?: boolean | undefined;
4097
+ current_since?: string | undefined;
4098
+ current_until?: string | undefined;
4099
+ revoked?: boolean | undefined;
4100
+ revoked_at?: string | undefined;
4101
+ };
4102
+ outputFormat: "json" | "text";
4103
+ status: 200;
4104
+ };
4105
+ };
4106
+ } & {
4107
+ "/signing/rotate": {
4108
+ $post: {
4109
+ input: {
4110
+ header: {
4111
+ "tenant-id": string;
4112
+ };
4113
+ };
4114
+ output: {};
4115
+ outputFormat: string;
4116
+ status: 201;
4117
+ };
4118
+ };
4119
+ } & {
4120
+ "/signing/:kid/revoke": {
4121
+ $put: {
4122
+ input: {
4123
+ param: {
4124
+ kid: string;
4125
+ };
4126
+ } & {
4127
+ header: {
4128
+ "tenant-id": string;
4129
+ };
4130
+ };
4131
+ output: {};
4132
+ outputFormat: string;
4133
+ status: 201;
4134
+ };
4135
+ };
4136
+ }, "/api/v2/keys"> & import("hono/types").MergeSchemaPath<{
4050
4137
  "/": {
4051
4138
  $get: {
4052
4139
  input: {