Variable OAuth2IdentityProviderSchemaConst
OAuth2IdentityProviderSchema: ZodObject<
{
kind: ZodLiteral<"oauth">;
name: ZodString;
params: ZodObject<
{
authorization_url: ZodOptional<ZodString>;
client_id: ZodOptional<ZodString>;
client_secret: ZodOptional<ZodString>;
driver: ZodOptional<ZodString>;
realm: ZodOptional<ZodString>;
scopes: ZodOptional<ZodArray<ZodString, "many">>;
token_url: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
authorization_url?: string;
client_id?: string;
client_secret?: string;
driver?: string;
realm?: string;
scopes?: string[];
token_url?: string;
},
{
authorization_url?: string;
client_id?: string;
client_secret?: string;
driver?: string;
realm?: string;
scopes?: string[];
token_url?: string;
},
>;
},
"strip",
ZodTypeAny,
{
kind: "oauth";
name: string;
params: {
authorization_url?: string;
client_id?: string;
client_secret?: string;
driver?: string;
realm?: string;
scopes?: string[];
token_url?: string;
};
},
{
kind: "oauth";
name: string;
params: {
authorization_url?: string;
client_id?: string;
client_secret?: string;
driver?: string;
realm?: string;
scopes?: string[];
token_url?: string;
};
},
> = ...
OAuth 2.0 identity provider schema Uses the authcrunch wrapper structure: name, kind, params