Update bearer-strategy.d.ts

This commit is contained in:
tzachshabtay
2018-11-07 10:40:10 -05:00
committed by GitHub
parent adc9c3f220
commit 9e043b0469
+2 -2
View File
@@ -21,7 +21,7 @@ export interface IBearerStrategyOptionWithRequest extends IBearerStrategyOption
passReqToCallback: true;
}
export class BearerStrategy extends passport.Strategy {
export class BearerStrategy implements passport.Strategy {
constructor(
options: IBearerStrategyOptionWithRequest,
verify: VerifyBearerFunctionWithReq
@@ -31,4 +31,4 @@ export class BearerStrategy extends passport.Strategy {
name: string;
authenticate(req: Request, options?: object): void;
}
}