mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
made the two Passport classes in the Express model private
This commit is contained in:
@@ -151,7 +151,7 @@ module Express {
|
||||
/**
|
||||
* A call that sets up a Passport router that includes the request object.
|
||||
*/
|
||||
class PassportRouteSetup extends HTTP::Servers::StandardRouteSetup, CallExpr {
|
||||
private class PassportRouteSetup extends HTTP::Servers::StandardRouteSetup, CallExpr {
|
||||
DataFlow::ModuleImportNode importNode;
|
||||
DataFlow::FunctionNode callback;
|
||||
|
||||
@@ -178,7 +178,7 @@ module Express {
|
||||
/**
|
||||
* The callback given to passport in PassportRouteSetup.
|
||||
*/
|
||||
class PassportRouteHandler extends RouteHandler, HTTP::Servers::StandardRouteHandler,
|
||||
private class PassportRouteHandler extends RouteHandler, HTTP::Servers::StandardRouteHandler,
|
||||
DataFlow::ValueNode {
|
||||
override Function astNode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user