Type Alias JwtAuthStrategyOptions
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")[]
OptionalmaxAge?: number | string
Description
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.