Properties
Optional
autoLogin
autoLogin?: boolean
Optional
clientId
clientId?: string
Optional
clientName
clientName?: string
Optional
clientSecret
clientSecret?: string
Optional
dataServiceDriver
dataServiceDriver?: DataServiceDriver<string, string>
Optional
defaultOidcIssuer
defaultOidcIssuer?: string
Optional
loginErrorCallback
loginErrorCallback?: ((req, res, sessionInfo, reason) => void)
Type declaration
- (req, res, sessionInfo, reason): void
Parameters
- req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
- res: Response<any, Record<string, any>>
- sessionInfo: ISessionInfo
- reason: any
Returns void
Optional
loginPath
loginPath?: string
Optional
loginSuccessCallback
loginSuccessCallback?: ((req, res, sessionInfo) => void)
Type declaration
- (req, res, sessionInfo): void
Parameters
- req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
- res: Response<any, Record<string, any>>
- sessionInfo: ISessionInfo
Returns void
Optional
redirectPath
redirectPath?: string
Optional
redirectUrl
redirectUrl?: string
Automatically login after starting the server