@supabase/server - v1.7.0
    Preparing search index...

    Interface RequestClaimsAlpha

    Alpha. Minimal claims shape withPostgresClient needs on the upstream context.

    Satisfied both by withSupabase's JWKS-verified ctx.jwtClaims and by the standalone withClaims middleware — withPostgresClient only reads role and serializes the whole object into request.jwt.claims.

    The composable middleware surface tracks @supabase/middleware 0.x — entry shapes, context keys, and config options may change between 0.x releases.

    interface RequestClaims {
        role?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    Properties

    role?: string