mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
[oauth2orize] Add req.oauth2 to express request (#43840)
* Add req.oauth2 to express request * Removed blank line Co-authored-by: Daniel Varnai <daniel.v@questplore.app>
This commit is contained in:
co-authored by
Daniel Varnai
parent
f878626e82
commit
05ee48235a
Vendored
+8
@@ -9,6 +9,14 @@
|
||||
|
||||
import { IncomingMessage, ServerResponse } from "http";
|
||||
|
||||
declare global {
|
||||
namespace Express {
|
||||
interface Request {
|
||||
oauth2?: OAuth2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export interface OAuth2 {
|
||||
client: any;
|
||||
user: any;
|
||||
|
||||
Reference in New Issue
Block a user