Skip to main content

Abstract Class: BaseAuthOIDCRouteMongo

Defined in: src/routes/mongo/BaseAuthOIDCRouteMongo.ts:8

Extends

Constructors

Constructor

new BaseAuthOIDCRouteMongo(): BaseAuthOIDCRouteMongo

Returns

BaseAuthOIDCRouteMongo

Inherited from

BaseAuthOIDCRoute.constructor

Properties

aliasClass

protected aliasClass: any = AliasMongo

Defined in: src/routes/mongo/BaseAuthOIDCRouteMongo.ts:9

Overrides

BaseAuthOIDCRoute.aliasClass


aliasRepo?

protected optional aliasRepo?: RepoUtils<AliasMongo>

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 = ProfileMongo

Defined in: src/routes/mongo/BaseAuthOIDCRouteMongo.ts:10

Overrides

BaseAuthOIDCRoute.profileClass


profileRepo?

protected optional profileRepo?: RepoUtils<ProfileMongo>

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 = UserMongo

Defined in: src/routes/mongo/BaseAuthOIDCRouteMongo.ts:11

Overrides

BaseAuthOIDCRoute.userClass


userRepo?

protected optional userRepo?: RepoUtils<UserMongo>

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

Inherited from

BaseAuthOIDCRoute.userRepo


userUtils?

protected optional userUtils?: UserUtils<UserMongo, AliasMongo>

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