Skip to main content

Abstract Class: BaseAuthOIDCRouteSQL

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

Extends

Constructors

Constructor

new BaseAuthOIDCRouteSQL(): BaseAuthOIDCRouteSQL

Returns

BaseAuthOIDCRouteSQL

Inherited from

BaseAuthOIDCRoute.constructor

Properties

aliasClass

protected aliasClass: any = AliasSQL

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

Overrides

BaseAuthOIDCRoute.aliasClass


aliasRepo?

protected optional aliasRepo?: RepoUtils<AliasSQL>

Defined in: src/routes/BaseAuthOIDCRoute.ts:27

Inherited from

BaseAuthOIDCRoute.aliasRepo


authMiddleware?

protected optional authMiddleware?: AuthMiddleware

Defined in: src/routes/BaseAuthOIDCRoute.ts:30

Inherited from

BaseAuthOIDCRoute.authMiddleware


jwtConfig?

protected optional jwtConfig?: any

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

Inherited from

BaseAuthOIDCRoute.jwtConfig


messagingUtils?

protected optional messagingUtils?: MessagingUtils

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

Inherited from

BaseAuthOIDCRoute.messagingUtils


objectFactory?

protected optional objectFactory?: ObjectFactory

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

Inherited from

BaseAuthOIDCRoute.objectFactory


profileClass

protected profileClass: any = ProfileSQL

Defined in: src/routes/sql/BaseAuthOIDCRouteSQL.ts:10

Overrides

BaseAuthOIDCRoute.profileClass


profileRepo?

protected optional profileRepo?: RepoUtils<ProfileSQL>

Defined in: src/routes/BaseAuthOIDCRoute.ts:41

Inherited from

BaseAuthOIDCRoute.profileRepo


providerConfig

abstract protected providerConfig: OIDCProvider

Defined in: src/routes/BaseAuthOIDCRoute.ts:43

Inherited from

BaseAuthOIDCRoute.providerConfig


userClass

protected userClass: any = UserSQL

Defined in: src/routes/sql/BaseAuthOIDCRouteSQL.ts:11

Overrides

BaseAuthOIDCRoute.userClass


userRepo?

protected optional userRepo?: RepoUtils<UserSQL>

Defined in: src/routes/BaseAuthOIDCRoute.ts:45

Inherited from

BaseAuthOIDCRoute.userRepo


userUtils?

protected optional userUtils?: UserUtils<UserSQL, AliasSQL>

Defined in: src/routes/BaseAuthOIDCRoute.ts:47

Inherited from

BaseAuthOIDCRoute.userUtils

Methods

login()

login(user): Promise<AuthResult | undefined>

Defined in: src/routes/BaseAuthOIDCRoute.ts:227

Authenticates the user using OIDC and returns a JSON Web Token access token to be used with future API requests.

Parameters

user

JWTUser

Returns

Promise<AuthResult | undefined>

Inherited from

BaseAuthOIDCRoute.login