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