Skip to main content

Class: AuthPluginManager

Properties

isUserAuthorized

isUserAuthorized: IsUserAuthorized

Defined in

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

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:80


decorateUserStatus

decorateUserStatus(connectorRequest, userStatus): Promise<void>

Parameters

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

Returns

Promise<void>

Defined in

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


registerAuthPlugin

registerAuthPlugin(plugin): Promise<undefined>

Parameters

NameType
pluginAbstractAuthPlugin

Returns

Promise<undefined>

Defined in

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


init

init(config): AuthPluginManager

Parameters

NameType
configAuthPluginManagerConfig

Returns

AuthPluginManager

Defined in

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