Abstract Class: BaseAuthRefreshRouteMongo
Defined in: src/routes/mongo/BaseAuthRefreshRouteMongo.ts:8
Extends
Constructors
Constructor
new BaseAuthRefreshRouteMongo():
BaseAuthRefreshRouteMongo
Returns
BaseAuthRefreshRouteMongo
Inherited from
BaseAuthRefreshRoute.constructor
Properties
authConfig
protectedauthConfig:any
Defined in: src/routes/BaseAuthRefreshRoute.ts:33
Inherited from
BaseAuthRefreshRoute.authConfig
cookieConfig
protectedcookieConfig:TokenCookieConfig
Defined in: src/routes/BaseAuthRefreshRoute.ts:36
Inherited from
BaseAuthRefreshRoute.cookieConfig
defaultScopes
protecteddefaultScopes:string[] =[]
Defined in: src/routes/BaseAuthRefreshRoute.ts:39
Inherited from
BaseAuthRefreshRoute.defaultScopes
tokenUtils?
protectedoptionaltokenUtils?:TokenUtils
Defined in: src/routes/BaseAuthRefreshRoute.ts:42
Inherited from
BaseAuthRefreshRoute.tokenUtils
userClass
protecteduserClass:any=UserMongo
Defined in: src/routes/mongo/BaseAuthRefreshRouteMongo.ts:9
Overrides
BaseAuthRefreshRoute.userClass
userRepo?
protectedoptionaluserRepo?:RepoUtils<UserMongo>
Defined in: src/routes/BaseAuthRefreshRoute.ts:44
Inherited from
Methods
authenticate()
authenticate(
req,res):Promise<AuthResult>
Defined in: src/routes/BaseAuthRefreshRoute.ts:105
Parameters
req
HttpRequest
res
HttpResponse
Returns
Promise<AuthResult>
Inherited from
BaseAuthRefreshRoute.authenticate
initialize()
protectedinitialize():Promise<void>
Defined in: src/routes/BaseAuthRefreshRoute.ts:50
Called on server startup to initialize the route with any defaults.
Returns
Promise<void>