Skip to main content

Variable: AuthConfigRequestSchema

const AuthConfigRequestSchema: ZodUnion<[ZodObject<{
auth_header: ZodRecord<ZodString, ZodString>;
}, "passthrough", ZodTypeAny, objectOutputType<{
auth_header: ZodRecord<ZodString, ZodString>;
}, ZodTypeAny, "passthrough">, objectInputType<{
auth_header: ZodRecord<ZodString, ZodString>;
}, ZodTypeAny, "passthrough">>, ZodObject<{
oauth2_token_url: ZodString;
oauth2_headers: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
oauth2_body_params: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
oauth2_inject_header: ZodRecord<ZodString, ZodString>;
} & {
oauth2_expiry_minutes: ZodOptional<ZodNumber>;
oauth2_token_response_key: ZodOptional<ZodString>;
}, "passthrough", ZodTypeAny, objectOutputType<{
oauth2_token_url: ZodString;
oauth2_headers: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
oauth2_body_params: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
oauth2_inject_header: ZodRecord<ZodString, ZodString>;
} & {
oauth2_expiry_minutes: ZodOptional<ZodNumber>;
oauth2_token_response_key: ZodOptional<ZodString>;
}, ZodTypeAny, "passthrough">, objectInputType<{
oauth2_token_url: ZodString;
oauth2_headers: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
oauth2_body_params: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
oauth2_inject_header: ZodRecord<ZodString, ZodString>;
} & {
oauth2_expiry_minutes: ZodOptional<ZodNumber>;
oauth2_token_response_key: ZodOptional<ZodString>;
}, ZodTypeAny, "passthrough">>, ZodObject<{
basic_auth_header: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
} & {
basic_auth_location: ZodOptional<ZodString>;
}, "passthrough", ZodTypeAny, objectOutputType<{
basic_auth_header: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
} & {
basic_auth_location: ZodOptional<ZodString>;
}, ZodTypeAny, "passthrough">, objectInputType<{
basic_auth_header: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
} & {
basic_auth_location: ZodOptional<ZodString>;
}, ZodTypeAny, "passthrough">>]>;

Defined in: src/models/red-team.ts:153

Request auth variants do not inject defaults belonging to a different auth method.