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

    Interface VerifyAuthOptions

    Options for verifyAuth.

    interface VerifyAuthOptions {
        auth?: AuthModeWithKey | AuthModeWithKey[];
        allow?: AuthModeWithKey | AuthModeWithKey[];
        audience?: string | string[];
        issuer?: string | string[];
        env?: Partial<SupabaseEnv>;
    }
    Index

    Properties

    Auth mode(s) to try. Modes are attempted in order — the first match wins.

    AuthModeWithKey for the full syntax including named keys.

    "user"

    Use VerifyAuthOptions.auth instead. Kept for backward compatibility; will be removed in a future major release. When both are provided, auth wins.

    audience?: string | string[]

    Accepted aud claim value(s) for user mode. When set, a token without aud is rejected, and a token whose aud is an array passes when any entry is accepted.

    issuer?: string | string[]

    Accepted iss claim value(s) for user mode. When set, a token without iss is rejected. Supabase Auth issues https://<project-ref>.supabase.co/auth/v1, which fromSupabaseUrl(url) builds from a project URL.

    env?: Partial<SupabaseEnv>

    Optional environment overrides (passed through to resolveEnv).