Variable AuthenticationSchemaConst
AuthenticationSchema: ZodUnion<
[
ZodObject<
{
basic: ZodObject<
{ apiToken: ZodString; email: ZodString },
"strict",
ZodTypeAny,
{ apiToken: string; email: string },
{ apiToken: string; email: string },
>;
},
"strict",
ZodTypeAny,
{ basic: { apiToken: string; email: string } },
{ basic: { apiToken: string; email: string } },
>,
ZodObject<
{
jwt: ZodObject<
{
expiryTimeSeconds: ZodOptional<ZodNumber>;
issuer: ZodString;
secret: ZodString;
},
"strict",
ZodTypeAny,
{ expiryTimeSeconds?: number; issuer: string; secret: string },
{ expiryTimeSeconds?: number; issuer: string; secret: string },
>;
},
"strict",
ZodTypeAny,
{ jwt: { expiryTimeSeconds?: number; issuer: string; secret: string } },
{ jwt: { expiryTimeSeconds?: number; issuer: string; secret: string } },
>,
ZodObject<
{
oauth2: ZodObject<
{ accessToken: ZodString },
"strict",
ZodTypeAny,
{ accessToken: string },
{ accessToken: string },
>;
},
"strict",
ZodTypeAny,
{ oauth2: { accessToken: string } },
{ oauth2: { accessToken: string } },
>,
],
> = ...
Authentication configuration schema