Skip to main content

Class: AbstractAuthPlugin

Hierarchy

Constructors

constructor

new AbstractAuthPlugin(): AbstractAuthPlugin

Returns

AbstractAuthPlugin

Defined in

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

Properties

_internalConfig

Protected Abstract Readonly _internalConfig: AuthPluginInternalConfig

Defined in

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


decorateRequestDefaults

Abstract decorateRequestDefaults: DecorateResponse

Defined in

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


decorateUserStatus

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

Defined in

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


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


isAuthorized

Abstract isAuthorized: IsUserAuthorized

Defined in

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


logger

Protected logger: undefined | Logger = undefined

Defined in

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

Accessors

internalConfig

get internalConfig(): AuthPluginInternalConfig

Returns

AuthPluginInternalConfig

Defined in

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

Methods

onPluginRegister

onPluginRegister(onRegisterConfig): Promise<undefined>

Parameters

NameType
onRegisterConfigAuthPluginOnRegisterConfig

Returns

Promise<undefined>

Defined in

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


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