mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
Update bearer-strategy.d.ts
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user