Skip to main content

Abstract Class: BaseAuthRefreshRouteSQL

Defined in: src/routes/sql/BaseAuthRefreshRouteSQL.ts:8

Extends

Constructors

Constructor

new BaseAuthRefreshRouteSQL(): BaseAuthRefreshRouteSQL

Returns

BaseAuthRefreshRouteSQL

Inherited from

BaseAuthRefreshRoute.constructor

Properties

authConfig

protected authConfig: any

Defined in: src/routes/BaseAuthRefreshRoute.ts:33

Inherited from

BaseAuthRefreshRoute.authConfig


cookieConfig

protected cookieConfig: TokenCookieConfig

Defined in: src/routes/BaseAuthRefreshRoute.ts:36

Inherited from

BaseAuthRefreshRoute.cookieConfig


defaultScopes

protected defaultScopes: string[] = []

Defined in: src/routes/BaseAuthRefreshRoute.ts:39

Inherited from

BaseAuthRefreshRoute.defaultScopes


tokenUtils?

protected optional tokenUtils?: TokenUtils

Defined in: src/routes/BaseAuthRefreshRoute.ts:42

Inherited from

BaseAuthRefreshRoute.tokenUtils


userClass

protected userClass: any = UserSQL

Defined in: src/routes/sql/BaseAuthRefreshRouteSQL.ts:9

Overrides

BaseAuthRefreshRoute.userClass


userRepo?

protected optional userRepo?: RepoUtils<UserSQL>

Defined in: src/routes/BaseAuthRefreshRoute.ts:44

Inherited from

BaseAuthRefreshRoute.userRepo

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()

protected initialize(): Promise<void>

Defined in: src/routes/BaseAuthRefreshRoute.ts:50

Called on server startup to initialize the route with any defaults.

Returns

Promise<void>

Inherited from

BaseAuthRefreshRoute.initialize