MCPcopy Index your code
hub / github.com/simstudioai/sim / verifyAuth

Method verifyAuth

apps/sim/lib/webhooks/providers/types.ts:93–93  ·  view source on GitHub ↗

Verify signature/auth. Return NextResponse(401/403) on failure, null on success.

(ctx: AuthContext)

Source from the content-addressed store, hash-verified

91export interface WebhookProviderHandler {
92 /** Verify signature/auth. Return NextResponse(401/403) on failure, null on success. */
93 verifyAuth?(ctx: AuthContext): Promise<NextResponse | null> | NextResponse | null
94
95 /** Handle reachability/verification probes after webhook lookup. */
96 handleReachabilityTest?(body: unknown, requestId: string): NextResponse | null

Callers 1

verifyProviderAuthFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected