@authhero/adapter-interfaces 0.87.0 → 0.89.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.
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +432 -41
- package/dist/adapter-interfaces.mjs +398 -225
- package/package.json +1 -1
|
@@ -986,6 +986,386 @@ export declare const applicationSchema: z.ZodObject<{
|
|
|
986
986
|
client_metadata?: Record<string, string> | undefined;
|
|
987
987
|
}>;
|
|
988
988
|
export type Application = z.infer<typeof applicationSchema>;
|
|
989
|
+
export declare const clientInsertSchema: z.ZodObject<{
|
|
990
|
+
client_id: z.ZodString;
|
|
991
|
+
name: z.ZodString;
|
|
992
|
+
description: z.ZodOptional<z.ZodString>;
|
|
993
|
+
global: z.ZodDefault<z.ZodBoolean>;
|
|
994
|
+
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
995
|
+
app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
996
|
+
"native",
|
|
997
|
+
"spa",
|
|
998
|
+
"regular_web",
|
|
999
|
+
"non_interactive",
|
|
1000
|
+
"resource_server",
|
|
1001
|
+
"express_configuration",
|
|
1002
|
+
"rms",
|
|
1003
|
+
"box",
|
|
1004
|
+
"cloudbees",
|
|
1005
|
+
"concur",
|
|
1006
|
+
"dropbox",
|
|
1007
|
+
"mscrm",
|
|
1008
|
+
"echosign",
|
|
1009
|
+
"egnyte",
|
|
1010
|
+
"newrelic",
|
|
1011
|
+
"office365",
|
|
1012
|
+
"salesforce",
|
|
1013
|
+
"sentry",
|
|
1014
|
+
"sharepoint",
|
|
1015
|
+
"slack",
|
|
1016
|
+
"springcm",
|
|
1017
|
+
"zendesk",
|
|
1018
|
+
"zoom",
|
|
1019
|
+
"sso_integration",
|
|
1020
|
+
"oag"
|
|
1021
|
+
]>>>;
|
|
1022
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
|
1023
|
+
is_first_party: z.ZodDefault<z.ZodBoolean>;
|
|
1024
|
+
oidc_conformant: z.ZodDefault<z.ZodBoolean>;
|
|
1025
|
+
callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1026
|
+
allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1027
|
+
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1028
|
+
client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1029
|
+
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1030
|
+
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1031
|
+
session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1032
|
+
oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1033
|
+
grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1034
|
+
jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1035
|
+
signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
1036
|
+
encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1037
|
+
sso: z.ZodDefault<z.ZodBoolean>;
|
|
1038
|
+
sso_disabled: z.ZodDefault<z.ZodBoolean>;
|
|
1039
|
+
cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
|
|
1040
|
+
cross_origin_loc: z.ZodOptional<z.ZodString>;
|
|
1041
|
+
custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
|
|
1042
|
+
custom_login_page: z.ZodOptional<z.ZodString>;
|
|
1043
|
+
custom_login_page_preview: z.ZodOptional<z.ZodString>;
|
|
1044
|
+
form_template: z.ZodOptional<z.ZodString>;
|
|
1045
|
+
addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1046
|
+
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1047
|
+
"none",
|
|
1048
|
+
"client_secret_post",
|
|
1049
|
+
"client_secret_basic"
|
|
1050
|
+
]>>>;
|
|
1051
|
+
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1052
|
+
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1053
|
+
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
1054
|
+
native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1055
|
+
refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1056
|
+
default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1057
|
+
organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1058
|
+
"deny",
|
|
1059
|
+
"allow",
|
|
1060
|
+
"require"
|
|
1061
|
+
]>>>;
|
|
1062
|
+
organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1063
|
+
"no_prompt",
|
|
1064
|
+
"pre_login_prompt",
|
|
1065
|
+
"post_login_prompt"
|
|
1066
|
+
]>>>;
|
|
1067
|
+
client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1068
|
+
require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
|
|
1069
|
+
require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
|
|
1070
|
+
signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1071
|
+
compliance_level: z.ZodOptional<z.ZodEnum<[
|
|
1072
|
+
"none",
|
|
1073
|
+
"fapi1_adv_pkj_par",
|
|
1074
|
+
"fapi1_adv_mtls_par",
|
|
1075
|
+
"fapi2_sp_pkj_mtls",
|
|
1076
|
+
"fapi2_sp_mtls_mtls"
|
|
1077
|
+
]>>;
|
|
1078
|
+
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
1079
|
+
token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1080
|
+
}, "strip", z.ZodTypeAny, {
|
|
1081
|
+
name: string;
|
|
1082
|
+
client_id: string;
|
|
1083
|
+
global: boolean;
|
|
1084
|
+
is_first_party: boolean;
|
|
1085
|
+
oidc_conformant: boolean;
|
|
1086
|
+
sso: boolean;
|
|
1087
|
+
sso_disabled: boolean;
|
|
1088
|
+
cross_origin_authentication: boolean;
|
|
1089
|
+
custom_login_page_on: boolean;
|
|
1090
|
+
require_pushed_authorization_requests: boolean;
|
|
1091
|
+
require_proof_of_possession: boolean;
|
|
1092
|
+
description?: string | undefined;
|
|
1093
|
+
refresh_token?: Record<string, any> | undefined;
|
|
1094
|
+
callbacks?: string[] | undefined;
|
|
1095
|
+
allowed_origins?: string[] | undefined;
|
|
1096
|
+
web_origins?: string[] | undefined;
|
|
1097
|
+
allowed_logout_urls?: string[] | undefined;
|
|
1098
|
+
allowed_clients?: string[] | undefined;
|
|
1099
|
+
addons?: Record<string, any> | undefined;
|
|
1100
|
+
client_secret?: string | undefined;
|
|
1101
|
+
client_metadata?: Record<string, string> | undefined;
|
|
1102
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
1103
|
+
logo_uri?: string | undefined;
|
|
1104
|
+
client_aliases?: string[] | undefined;
|
|
1105
|
+
session_transfer?: Record<string, any> | undefined;
|
|
1106
|
+
oidc_logout?: Record<string, any> | undefined;
|
|
1107
|
+
grant_types?: string[] | undefined;
|
|
1108
|
+
jwt_configuration?: Record<string, any> | undefined;
|
|
1109
|
+
signing_keys?: Record<string, any>[] | undefined;
|
|
1110
|
+
encryption_key?: Record<string, any> | undefined;
|
|
1111
|
+
cross_origin_loc?: string | undefined;
|
|
1112
|
+
custom_login_page?: string | undefined;
|
|
1113
|
+
custom_login_page_preview?: string | undefined;
|
|
1114
|
+
form_template?: string | undefined;
|
|
1115
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
1116
|
+
mobile?: Record<string, any> | undefined;
|
|
1117
|
+
initiate_login_uri?: string | undefined;
|
|
1118
|
+
native_social_login?: Record<string, any> | undefined;
|
|
1119
|
+
default_organization?: Record<string, any> | undefined;
|
|
1120
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
1121
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
1122
|
+
client_authentication_methods?: Record<string, any> | undefined;
|
|
1123
|
+
signed_request_object?: Record<string, any> | undefined;
|
|
1124
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
1125
|
+
par_request_expiry?: number | undefined;
|
|
1126
|
+
token_quota?: Record<string, any> | undefined;
|
|
1127
|
+
}, {
|
|
1128
|
+
name: string;
|
|
1129
|
+
client_id: string;
|
|
1130
|
+
description?: string | undefined;
|
|
1131
|
+
refresh_token?: Record<string, any> | undefined;
|
|
1132
|
+
callbacks?: string[] | undefined;
|
|
1133
|
+
allowed_origins?: string[] | undefined;
|
|
1134
|
+
web_origins?: string[] | undefined;
|
|
1135
|
+
allowed_logout_urls?: string[] | undefined;
|
|
1136
|
+
allowed_clients?: string[] | undefined;
|
|
1137
|
+
addons?: Record<string, any> | undefined;
|
|
1138
|
+
client_secret?: string | undefined;
|
|
1139
|
+
client_metadata?: Record<string, string> | undefined;
|
|
1140
|
+
global?: boolean | undefined;
|
|
1141
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
1142
|
+
logo_uri?: string | undefined;
|
|
1143
|
+
is_first_party?: boolean | undefined;
|
|
1144
|
+
oidc_conformant?: boolean | undefined;
|
|
1145
|
+
client_aliases?: string[] | undefined;
|
|
1146
|
+
session_transfer?: Record<string, any> | undefined;
|
|
1147
|
+
oidc_logout?: Record<string, any> | undefined;
|
|
1148
|
+
grant_types?: string[] | undefined;
|
|
1149
|
+
jwt_configuration?: Record<string, any> | undefined;
|
|
1150
|
+
signing_keys?: Record<string, any>[] | undefined;
|
|
1151
|
+
encryption_key?: Record<string, any> | undefined;
|
|
1152
|
+
sso?: boolean | undefined;
|
|
1153
|
+
sso_disabled?: boolean | undefined;
|
|
1154
|
+
cross_origin_authentication?: boolean | undefined;
|
|
1155
|
+
cross_origin_loc?: string | undefined;
|
|
1156
|
+
custom_login_page_on?: boolean | undefined;
|
|
1157
|
+
custom_login_page?: string | undefined;
|
|
1158
|
+
custom_login_page_preview?: string | undefined;
|
|
1159
|
+
form_template?: string | undefined;
|
|
1160
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
1161
|
+
mobile?: Record<string, any> | undefined;
|
|
1162
|
+
initiate_login_uri?: string | undefined;
|
|
1163
|
+
native_social_login?: Record<string, any> | undefined;
|
|
1164
|
+
default_organization?: Record<string, any> | undefined;
|
|
1165
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
1166
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
1167
|
+
client_authentication_methods?: Record<string, any> | undefined;
|
|
1168
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
1169
|
+
require_proof_of_possession?: boolean | undefined;
|
|
1170
|
+
signed_request_object?: Record<string, any> | undefined;
|
|
1171
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
1172
|
+
par_request_expiry?: number | undefined;
|
|
1173
|
+
token_quota?: Record<string, any> | undefined;
|
|
1174
|
+
}>;
|
|
1175
|
+
export type ClientInsert = z.input<typeof clientInsertSchema>;
|
|
1176
|
+
export declare const clientSchema: z.ZodObject<{
|
|
1177
|
+
client_id: z.ZodString;
|
|
1178
|
+
name: z.ZodString;
|
|
1179
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
global: z.ZodDefault<z.ZodBoolean>;
|
|
1181
|
+
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1182
|
+
app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1183
|
+
"native",
|
|
1184
|
+
"spa",
|
|
1185
|
+
"regular_web",
|
|
1186
|
+
"non_interactive",
|
|
1187
|
+
"resource_server",
|
|
1188
|
+
"express_configuration",
|
|
1189
|
+
"rms",
|
|
1190
|
+
"box",
|
|
1191
|
+
"cloudbees",
|
|
1192
|
+
"concur",
|
|
1193
|
+
"dropbox",
|
|
1194
|
+
"mscrm",
|
|
1195
|
+
"echosign",
|
|
1196
|
+
"egnyte",
|
|
1197
|
+
"newrelic",
|
|
1198
|
+
"office365",
|
|
1199
|
+
"salesforce",
|
|
1200
|
+
"sentry",
|
|
1201
|
+
"sharepoint",
|
|
1202
|
+
"slack",
|
|
1203
|
+
"springcm",
|
|
1204
|
+
"zendesk",
|
|
1205
|
+
"zoom",
|
|
1206
|
+
"sso_integration",
|
|
1207
|
+
"oag"
|
|
1208
|
+
]>>>;
|
|
1209
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
is_first_party: z.ZodDefault<z.ZodBoolean>;
|
|
1211
|
+
oidc_conformant: z.ZodDefault<z.ZodBoolean>;
|
|
1212
|
+
callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1213
|
+
allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1214
|
+
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1215
|
+
client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1216
|
+
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1217
|
+
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1218
|
+
session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1219
|
+
oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1220
|
+
grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1221
|
+
jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1222
|
+
signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
1223
|
+
encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1224
|
+
sso: z.ZodDefault<z.ZodBoolean>;
|
|
1225
|
+
sso_disabled: z.ZodDefault<z.ZodBoolean>;
|
|
1226
|
+
cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
|
|
1227
|
+
cross_origin_loc: z.ZodOptional<z.ZodString>;
|
|
1228
|
+
custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
|
|
1229
|
+
custom_login_page: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
custom_login_page_preview: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
form_template: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1233
|
+
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1234
|
+
"none",
|
|
1235
|
+
"client_secret_post",
|
|
1236
|
+
"client_secret_basic"
|
|
1237
|
+
]>>>;
|
|
1238
|
+
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1239
|
+
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1240
|
+
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
1241
|
+
native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1242
|
+
refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1243
|
+
default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1244
|
+
organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1245
|
+
"deny",
|
|
1246
|
+
"allow",
|
|
1247
|
+
"require"
|
|
1248
|
+
]>>>;
|
|
1249
|
+
organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1250
|
+
"no_prompt",
|
|
1251
|
+
"pre_login_prompt",
|
|
1252
|
+
"post_login_prompt"
|
|
1253
|
+
]>>>;
|
|
1254
|
+
client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1255
|
+
require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
|
|
1256
|
+
require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
|
|
1257
|
+
signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1258
|
+
compliance_level: z.ZodOptional<z.ZodEnum<[
|
|
1259
|
+
"none",
|
|
1260
|
+
"fapi1_adv_pkj_par",
|
|
1261
|
+
"fapi1_adv_mtls_par",
|
|
1262
|
+
"fapi2_sp_pkj_mtls",
|
|
1263
|
+
"fapi2_sp_mtls_mtls"
|
|
1264
|
+
]>>;
|
|
1265
|
+
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
1266
|
+
token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1267
|
+
created_at: z.ZodString;
|
|
1268
|
+
updated_at: z.ZodString;
|
|
1269
|
+
}, "strip", z.ZodTypeAny, {
|
|
1270
|
+
created_at: string;
|
|
1271
|
+
updated_at: string;
|
|
1272
|
+
name: string;
|
|
1273
|
+
client_id: string;
|
|
1274
|
+
global: boolean;
|
|
1275
|
+
is_first_party: boolean;
|
|
1276
|
+
oidc_conformant: boolean;
|
|
1277
|
+
sso: boolean;
|
|
1278
|
+
sso_disabled: boolean;
|
|
1279
|
+
cross_origin_authentication: boolean;
|
|
1280
|
+
custom_login_page_on: boolean;
|
|
1281
|
+
require_pushed_authorization_requests: boolean;
|
|
1282
|
+
require_proof_of_possession: boolean;
|
|
1283
|
+
description?: string | undefined;
|
|
1284
|
+
refresh_token?: Record<string, any> | undefined;
|
|
1285
|
+
callbacks?: string[] | undefined;
|
|
1286
|
+
allowed_origins?: string[] | undefined;
|
|
1287
|
+
web_origins?: string[] | undefined;
|
|
1288
|
+
allowed_logout_urls?: string[] | undefined;
|
|
1289
|
+
allowed_clients?: string[] | undefined;
|
|
1290
|
+
addons?: Record<string, any> | undefined;
|
|
1291
|
+
client_secret?: string | undefined;
|
|
1292
|
+
client_metadata?: Record<string, string> | undefined;
|
|
1293
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
1294
|
+
logo_uri?: string | undefined;
|
|
1295
|
+
client_aliases?: string[] | undefined;
|
|
1296
|
+
session_transfer?: Record<string, any> | undefined;
|
|
1297
|
+
oidc_logout?: Record<string, any> | undefined;
|
|
1298
|
+
grant_types?: string[] | undefined;
|
|
1299
|
+
jwt_configuration?: Record<string, any> | undefined;
|
|
1300
|
+
signing_keys?: Record<string, any>[] | undefined;
|
|
1301
|
+
encryption_key?: Record<string, any> | undefined;
|
|
1302
|
+
cross_origin_loc?: string | undefined;
|
|
1303
|
+
custom_login_page?: string | undefined;
|
|
1304
|
+
custom_login_page_preview?: string | undefined;
|
|
1305
|
+
form_template?: string | undefined;
|
|
1306
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
1307
|
+
mobile?: Record<string, any> | undefined;
|
|
1308
|
+
initiate_login_uri?: string | undefined;
|
|
1309
|
+
native_social_login?: Record<string, any> | undefined;
|
|
1310
|
+
default_organization?: Record<string, any> | undefined;
|
|
1311
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
1312
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
1313
|
+
client_authentication_methods?: Record<string, any> | undefined;
|
|
1314
|
+
signed_request_object?: Record<string, any> | undefined;
|
|
1315
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
1316
|
+
par_request_expiry?: number | undefined;
|
|
1317
|
+
token_quota?: Record<string, any> | undefined;
|
|
1318
|
+
}, {
|
|
1319
|
+
created_at: string;
|
|
1320
|
+
updated_at: string;
|
|
1321
|
+
name: string;
|
|
1322
|
+
client_id: string;
|
|
1323
|
+
description?: string | undefined;
|
|
1324
|
+
refresh_token?: Record<string, any> | undefined;
|
|
1325
|
+
callbacks?: string[] | undefined;
|
|
1326
|
+
allowed_origins?: string[] | undefined;
|
|
1327
|
+
web_origins?: string[] | undefined;
|
|
1328
|
+
allowed_logout_urls?: string[] | undefined;
|
|
1329
|
+
allowed_clients?: string[] | undefined;
|
|
1330
|
+
addons?: Record<string, any> | undefined;
|
|
1331
|
+
client_secret?: string | undefined;
|
|
1332
|
+
client_metadata?: Record<string, string> | undefined;
|
|
1333
|
+
global?: boolean | undefined;
|
|
1334
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
1335
|
+
logo_uri?: string | undefined;
|
|
1336
|
+
is_first_party?: boolean | undefined;
|
|
1337
|
+
oidc_conformant?: boolean | undefined;
|
|
1338
|
+
client_aliases?: string[] | undefined;
|
|
1339
|
+
session_transfer?: Record<string, any> | undefined;
|
|
1340
|
+
oidc_logout?: Record<string, any> | undefined;
|
|
1341
|
+
grant_types?: string[] | undefined;
|
|
1342
|
+
jwt_configuration?: Record<string, any> | undefined;
|
|
1343
|
+
signing_keys?: Record<string, any>[] | undefined;
|
|
1344
|
+
encryption_key?: Record<string, any> | undefined;
|
|
1345
|
+
sso?: boolean | undefined;
|
|
1346
|
+
sso_disabled?: boolean | undefined;
|
|
1347
|
+
cross_origin_authentication?: boolean | undefined;
|
|
1348
|
+
cross_origin_loc?: string | undefined;
|
|
1349
|
+
custom_login_page_on?: boolean | undefined;
|
|
1350
|
+
custom_login_page?: string | undefined;
|
|
1351
|
+
custom_login_page_preview?: string | undefined;
|
|
1352
|
+
form_template?: string | undefined;
|
|
1353
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
1354
|
+
mobile?: Record<string, any> | undefined;
|
|
1355
|
+
initiate_login_uri?: string | undefined;
|
|
1356
|
+
native_social_login?: Record<string, any> | undefined;
|
|
1357
|
+
default_organization?: Record<string, any> | undefined;
|
|
1358
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
1359
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
1360
|
+
client_authentication_methods?: Record<string, any> | undefined;
|
|
1361
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
1362
|
+
require_proof_of_possession?: boolean | undefined;
|
|
1363
|
+
signed_request_object?: Record<string, any> | undefined;
|
|
1364
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
1365
|
+
par_request_expiry?: number | undefined;
|
|
1366
|
+
token_quota?: Record<string, any> | undefined;
|
|
1367
|
+
}>;
|
|
1368
|
+
export type Client = z.infer<typeof clientSchema>;
|
|
989
1369
|
/**
|
|
990
1370
|
* Types for Auth0 Form Flow components
|
|
991
1371
|
* Based on the actual structure used by Auth0 forms API
|
|
@@ -8146,7 +8526,7 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
8146
8526
|
} | undefined;
|
|
8147
8527
|
}>;
|
|
8148
8528
|
export type Branding = z.infer<typeof brandingSchema>;
|
|
8149
|
-
declare const
|
|
8529
|
+
declare const LegacyClientSchema: z.ZodObject<{
|
|
8150
8530
|
tenant: z.ZodObject<{
|
|
8151
8531
|
id: z.ZodString;
|
|
8152
8532
|
name: z.ZodString;
|
|
@@ -8580,7 +8960,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
8580
8960
|
disable_sign_ups?: boolean | undefined;
|
|
8581
8961
|
client_metadata?: Record<string, string> | undefined;
|
|
8582
8962
|
}>;
|
|
8583
|
-
export type
|
|
8963
|
+
export type LegacyClient = z.infer<typeof LegacyClientSchema>;
|
|
8584
8964
|
export declare const codeTypeSchema: z.ZodEnum<[
|
|
8585
8965
|
"password_reset",
|
|
8586
8966
|
"email_verification",
|
|
@@ -12683,13 +13063,13 @@ export declare const widgetSchema: z.ZodObject<{
|
|
|
12683
13063
|
logo_url: string;
|
|
12684
13064
|
header_text_alignment: "center" | "left" | "right";
|
|
12685
13065
|
logo_height: number;
|
|
12686
|
-
logo_position: "
|
|
13066
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
12687
13067
|
social_buttons_layout: "bottom" | "top";
|
|
12688
13068
|
}, {
|
|
12689
13069
|
logo_url: string;
|
|
12690
13070
|
header_text_alignment: "center" | "left" | "right";
|
|
12691
13071
|
logo_height: number;
|
|
12692
|
-
logo_position: "
|
|
13072
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
12693
13073
|
social_buttons_layout: "bottom" | "top";
|
|
12694
13074
|
}>;
|
|
12695
13075
|
export declare const themeInsertSchema: z.ZodObject<{
|
|
@@ -12961,13 +13341,13 @@ export declare const themeInsertSchema: z.ZodObject<{
|
|
|
12961
13341
|
logo_url: string;
|
|
12962
13342
|
header_text_alignment: "center" | "left" | "right";
|
|
12963
13343
|
logo_height: number;
|
|
12964
|
-
logo_position: "
|
|
13344
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
12965
13345
|
social_buttons_layout: "bottom" | "top";
|
|
12966
13346
|
}, {
|
|
12967
13347
|
logo_url: string;
|
|
12968
13348
|
header_text_alignment: "center" | "left" | "right";
|
|
12969
13349
|
logo_height: number;
|
|
12970
|
-
logo_position: "
|
|
13350
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
12971
13351
|
social_buttons_layout: "bottom" | "top";
|
|
12972
13352
|
}>;
|
|
12973
13353
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13042,7 +13422,7 @@ export declare const themeInsertSchema: z.ZodObject<{
|
|
|
13042
13422
|
logo_url: string;
|
|
13043
13423
|
header_text_alignment: "center" | "left" | "right";
|
|
13044
13424
|
logo_height: number;
|
|
13045
|
-
logo_position: "
|
|
13425
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
13046
13426
|
social_buttons_layout: "bottom" | "top";
|
|
13047
13427
|
};
|
|
13048
13428
|
}, {
|
|
@@ -13117,7 +13497,7 @@ export declare const themeInsertSchema: z.ZodObject<{
|
|
|
13117
13497
|
logo_url: string;
|
|
13118
13498
|
header_text_alignment: "center" | "left" | "right";
|
|
13119
13499
|
logo_height: number;
|
|
13120
|
-
logo_position: "
|
|
13500
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
13121
13501
|
social_buttons_layout: "bottom" | "top";
|
|
13122
13502
|
};
|
|
13123
13503
|
}>;
|
|
@@ -13391,13 +13771,13 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
13391
13771
|
logo_url: string;
|
|
13392
13772
|
header_text_alignment: "center" | "left" | "right";
|
|
13393
13773
|
logo_height: number;
|
|
13394
|
-
logo_position: "
|
|
13774
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
13395
13775
|
social_buttons_layout: "bottom" | "top";
|
|
13396
13776
|
}, {
|
|
13397
13777
|
logo_url: string;
|
|
13398
13778
|
header_text_alignment: "center" | "left" | "right";
|
|
13399
13779
|
logo_height: number;
|
|
13400
|
-
logo_position: "
|
|
13780
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
13401
13781
|
social_buttons_layout: "bottom" | "top";
|
|
13402
13782
|
}>;
|
|
13403
13783
|
} & {
|
|
@@ -13474,7 +13854,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
13474
13854
|
logo_url: string;
|
|
13475
13855
|
header_text_alignment: "center" | "left" | "right";
|
|
13476
13856
|
logo_height: number;
|
|
13477
|
-
logo_position: "
|
|
13857
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
13478
13858
|
social_buttons_layout: "bottom" | "top";
|
|
13479
13859
|
};
|
|
13480
13860
|
themeId: string;
|
|
@@ -13550,7 +13930,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
13550
13930
|
logo_url: string;
|
|
13551
13931
|
header_text_alignment: "center" | "left" | "right";
|
|
13552
13932
|
logo_height: number;
|
|
13553
|
-
logo_position: "
|
|
13933
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
13554
13934
|
social_buttons_layout: "bottom" | "top";
|
|
13555
13935
|
};
|
|
13556
13936
|
themeId: string;
|
|
@@ -14749,6 +15129,13 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
14749
15129
|
}, "strip", z.ZodTypeAny, {
|
|
14750
15130
|
name: string;
|
|
14751
15131
|
id?: string | undefined;
|
|
15132
|
+
token_quota?: {
|
|
15133
|
+
client_credentials?: {
|
|
15134
|
+
enforce: boolean;
|
|
15135
|
+
per_day: number;
|
|
15136
|
+
per_hour: number;
|
|
15137
|
+
} | undefined;
|
|
15138
|
+
} | undefined;
|
|
14752
15139
|
display_name?: string | undefined;
|
|
14753
15140
|
branding?: {
|
|
14754
15141
|
colors?: {
|
|
@@ -14764,16 +15151,16 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
14764
15151
|
show_as_button: boolean;
|
|
14765
15152
|
is_signup_enabled: boolean;
|
|
14766
15153
|
}[] | undefined;
|
|
15154
|
+
}, {
|
|
15155
|
+
name: string;
|
|
15156
|
+
id?: string | undefined;
|
|
14767
15157
|
token_quota?: {
|
|
14768
15158
|
client_credentials?: {
|
|
14769
|
-
enforce
|
|
14770
|
-
per_day
|
|
14771
|
-
per_hour
|
|
15159
|
+
enforce?: boolean | undefined;
|
|
15160
|
+
per_day?: number | undefined;
|
|
15161
|
+
per_hour?: number | undefined;
|
|
14772
15162
|
} | undefined;
|
|
14773
15163
|
} | undefined;
|
|
14774
|
-
}, {
|
|
14775
|
-
name: string;
|
|
14776
|
-
id?: string | undefined;
|
|
14777
15164
|
display_name?: string | undefined;
|
|
14778
15165
|
branding?: {
|
|
14779
15166
|
colors?: {
|
|
@@ -14789,13 +15176,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
14789
15176
|
show_as_button?: boolean | undefined;
|
|
14790
15177
|
is_signup_enabled?: boolean | undefined;
|
|
14791
15178
|
}[] | undefined;
|
|
14792
|
-
token_quota?: {
|
|
14793
|
-
client_credentials?: {
|
|
14794
|
-
enforce?: boolean | undefined;
|
|
14795
|
-
per_day?: number | undefined;
|
|
14796
|
-
per_hour?: number | undefined;
|
|
14797
|
-
} | undefined;
|
|
14798
|
-
} | undefined;
|
|
14799
15179
|
}>;
|
|
14800
15180
|
export type OrganizationInsert = z.infer<typeof organizationInsertSchema>;
|
|
14801
15181
|
export declare const organizationSchema: z.ZodObject<{
|
|
@@ -14878,6 +15258,13 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
14878
15258
|
updated_at: string;
|
|
14879
15259
|
name: string;
|
|
14880
15260
|
id: string;
|
|
15261
|
+
token_quota?: {
|
|
15262
|
+
client_credentials?: {
|
|
15263
|
+
enforce: boolean;
|
|
15264
|
+
per_day: number;
|
|
15265
|
+
per_hour: number;
|
|
15266
|
+
} | undefined;
|
|
15267
|
+
} | undefined;
|
|
14881
15268
|
display_name?: string | undefined;
|
|
14882
15269
|
branding?: {
|
|
14883
15270
|
colors?: {
|
|
@@ -14893,18 +15280,18 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
14893
15280
|
show_as_button: boolean;
|
|
14894
15281
|
is_signup_enabled: boolean;
|
|
14895
15282
|
}[] | undefined;
|
|
14896
|
-
token_quota?: {
|
|
14897
|
-
client_credentials?: {
|
|
14898
|
-
enforce: boolean;
|
|
14899
|
-
per_day: number;
|
|
14900
|
-
per_hour: number;
|
|
14901
|
-
} | undefined;
|
|
14902
|
-
} | undefined;
|
|
14903
15283
|
}, {
|
|
14904
15284
|
created_at: string;
|
|
14905
15285
|
updated_at: string;
|
|
14906
15286
|
name: string;
|
|
14907
15287
|
id: string;
|
|
15288
|
+
token_quota?: {
|
|
15289
|
+
client_credentials?: {
|
|
15290
|
+
enforce?: boolean | undefined;
|
|
15291
|
+
per_day?: number | undefined;
|
|
15292
|
+
per_hour?: number | undefined;
|
|
15293
|
+
} | undefined;
|
|
15294
|
+
} | undefined;
|
|
14908
15295
|
display_name?: string | undefined;
|
|
14909
15296
|
branding?: {
|
|
14910
15297
|
colors?: {
|
|
@@ -14920,13 +15307,6 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
14920
15307
|
show_as_button?: boolean | undefined;
|
|
14921
15308
|
is_signup_enabled?: boolean | undefined;
|
|
14922
15309
|
}[] | undefined;
|
|
14923
|
-
token_quota?: {
|
|
14924
|
-
client_credentials?: {
|
|
14925
|
-
enforce?: boolean | undefined;
|
|
14926
|
-
per_day?: number | undefined;
|
|
14927
|
-
per_hour?: number | undefined;
|
|
14928
|
-
} | undefined;
|
|
14929
|
-
} | undefined;
|
|
14930
15310
|
}>;
|
|
14931
15311
|
export type Organization = z.infer<typeof organizationSchema>;
|
|
14932
15312
|
export declare const userOrganizationInsertSchema: z.ZodObject<{
|
|
@@ -14993,6 +15373,16 @@ export interface CacheAdapter {
|
|
|
14993
15373
|
*/
|
|
14994
15374
|
clear(): Promise<void>;
|
|
14995
15375
|
}
|
|
15376
|
+
export interface ClientsAdapter {
|
|
15377
|
+
create(tenant_id: string, params: ClientInsert): Promise<Client>;
|
|
15378
|
+
get(tenant_id: string, client_id: string): Promise<Client | null>;
|
|
15379
|
+
remove(tenant_id: string, client_id: string): Promise<boolean>;
|
|
15380
|
+
list(tenant_id: string, params?: ListParams): Promise<{
|
|
15381
|
+
clients: Client[];
|
|
15382
|
+
totals?: Totals;
|
|
15383
|
+
}>;
|
|
15384
|
+
update(tenant_id: string, client_id: string, client: Partial<Client>): Promise<boolean>;
|
|
15385
|
+
}
|
|
14996
15386
|
export interface ListCodesResponse extends Totals {
|
|
14997
15387
|
codes: Code[];
|
|
14998
15388
|
}
|
|
@@ -15104,8 +15494,8 @@ export interface HooksAdapter {
|
|
|
15104
15494
|
update: (tenant_id: string, hook_id: string, hook: Partial<HookInsert>) => Promise<boolean>;
|
|
15105
15495
|
list: (tenant_id: string, params?: ListParams) => Promise<ListHooksResponse>;
|
|
15106
15496
|
}
|
|
15107
|
-
export interface
|
|
15108
|
-
get: (id: string) => Promise<
|
|
15497
|
+
export interface LegacyClientsAdapter {
|
|
15498
|
+
get: (id: string) => Promise<LegacyClient | null>;
|
|
15109
15499
|
}
|
|
15110
15500
|
export interface ThemesAdapter {
|
|
15111
15501
|
create: (tenant_id: string, theme: ThemeInsert) => Promise<Theme>;
|
|
@@ -15227,6 +15617,7 @@ export interface DataAdapters {
|
|
|
15227
15617
|
branding: BrandingAdapter;
|
|
15228
15618
|
cache?: CacheAdapter;
|
|
15229
15619
|
clients: ClientsAdapter;
|
|
15620
|
+
legacyClients: LegacyClientsAdapter;
|
|
15230
15621
|
codes: CodesAdapter;
|
|
15231
15622
|
connections: ConnectionsAdapter;
|
|
15232
15623
|
customDomains: CustomDomainsAdapter;
|