Skip to main content

Class: AbstractAuthPlugin

Constructors

constructor

new AbstractAuthPlugin(): AbstractAuthPlugin

Returns

AbstractAuthPlugin

Defined in

packages/backend/server/src/auth-plugins/abstract-auth-plugin.ts:23

Properties

_internalConfig

Protected Abstract Readonly _internalConfig: AuthPluginInternalConfig

Defined in

packages/backend/server/src/auth-plugins/abstract-auth-plugin.ts:20


decorateRequestDefaults

Abstract decorateRequestDefaults: DecorateResponse

Defined in

packages/backend/server/src/auth-plugins/abstract-auth-plugin.ts:41


decorateUserStatus

Abstract decorateUserStatus: DecorateUserStatus<Record<string, any>>

Defined in

packages/backend/server/src/auth-plugins/abstract-auth-plugin.ts:42


exposedEndpoints

Abstract exposedEndpoints: () => Record<string, any>

Type declaration

▸ (): Record<string, any>

Returns

Record<string, any>

Defined in

packages/backend/server/src/auth-plugins/abstract-auth-plugin.ts:44


isAuthorized

Abstract isAuthorized: IsUserAuthorized

Defined in

packages/backend/server/src/auth-plugins/abstract-auth-plugin.ts:43


logger

Protected logger: undefined | Logger = undefined

Defined in

packages/backend/server/src/auth-plugins/abstract-auth-plugin.ts:21

Accessors

internalConfig

get internalConfig(): AuthPluginInternalConfig

Returns

AuthPluginInternalConfig

Defined in

packages/backend/server/src/auth-plugins/abstract-auth-plugin.ts:37

Methods

onPluginRegister

onPluginRegister(onRegisterConfig): Promise<undefined>

Parameters

NameType
onRegisterConfigAuthPluginOnRegisterConfig

Returns

Promise<undefined>

Defined in

packages/backend/server/src/auth-plugins/abstract-auth-plugin.ts:35


onRegister

onRegister(onRegisterConfig): Promise<undefined>

Do not override

Parameters

NameType
onRegisterConfigAuthPluginOnRegisterConfig

Returns

Promise<undefined>

Defined in

packages/backend/server/src/auth-plugins/abstract-auth-plugin.ts:29