Skip to main content

Class: AuthPluginManager

Properties

isUserAuthorized

isUserAuthorized: IsUserAuthorized

Defined in

packages/backend/server/src/auth-plugins/auth-plugin-manager.ts:109

Methods

decorateRequestDefaults

decorateRequestDefaults(connectorRequest, userData): Promise<void>

Parameters

NameType
connectorRequestConnectorRequest<Record<string, unknown>, Record<string, unknown>>
userDataUserData<Record<string, unknown>>

Returns

Promise<void>

Defined in

packages/backend/server/src/auth-plugins/auth-plugin-manager.ts:79


decorateUserStatus

decorateUserStatus(connectorRequest): Promise<Record<string, any>>

Parameters

NameType
connectorRequestConnectorRequest<Record<string, unknown>, Record<string, unknown>>

Returns

Promise<Record<string, any>>

Defined in

packages/backend/server/src/auth-plugins/auth-plugin-manager.ts:91


registerAuthPlugin

registerAuthPlugin(plugin): Promise<undefined>

Parameters

NameType
pluginAbstractAuthPlugin

Returns

Promise<undefined>

Defined in

packages/backend/server/src/auth-plugins/auth-plugin-manager.ts:33


init

init(config): AuthPluginManager

Parameters

NameType
configAuthPluginManagerConfig

Returns

AuthPluginManager

Defined in

packages/backend/server/src/auth-plugins/auth-plugin-manager.ts:136