JwtAuthStrategyOptions: {
    signOpts: { expiresIn: number | string };
    verifyOpts: {
        checkTokenFrom: ("AuthHeader" | "QueryString" | "Cookie")[];
        maxAge?: number | string;
    };
}

Type declaration

  • signOpts: { expiresIn: number | string }
  • verifyOpts: {
        checkTokenFrom: ("AuthHeader" | "QueryString" | "Cookie")[];
        maxAge?: number | string;
    }
    • checkTokenFrom: ("AuthHeader" | "QueryString" | "Cookie")[]

      Where should we check for the auth_token? Order of check locations matter and are traversed in order (top -> bottom); stopping at the first found.

    • OptionalmaxAge?: number | string