rkusa / koa-passport

Passport middleware for Koa
MIT License
774 stars 54 forks source link

export `AuthenticateOptions` #144

Open mikaelkaron opened 4 years ago

mikaelkaron commented 4 years ago

I'm writing my own middleware that calls koa-passport internally, It would be great to have access to AuthenticateOptions for type-safety.

rkusa commented 4 years ago

Valid request, from a quick look, it seems like the type is exported by @types/passport?