@midwayjs/passportClassesAbstractPassportMiddleware版本:Next本页总览abstractAbstractPassportMiddleware ImplementsPick<IPassportMiddleware, authenticate>Index ConstructorsconstructorMethodsauthenticategetAuthenticateOptionsresolveConstructors constructornew AbstractPassportMiddleware(): AbstractPassportMiddlewareMethods optionalauthenticateauthenticate(options: AuthenticateOptions, callback?: Function): anyabstractgetAuthenticateOptionsgetAuthenticateOptions(): AuthenticateOptions | Promise<AuthenticateOptions>resolveresolve(): any