Skip to main content

Class: GenericAuthPlugin

Hierarchy

Constructors

constructor

new GenericAuthPlugin(config): GenericAuthPlugin

Parameters

NameType
configGenericAuthConfig

Returns

GenericAuthPlugin

Overrides

AbstractAuthPlugin.constructor

Defined in

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

Properties

_internalConfig

Protected _internalConfig: AuthPluginInternalConfig

Overrides

AbstractAuthPlugin._internalConfig

Defined in

packages/backend/server/src/auth-plugins/generic/generic-auth-plugin.ts:16


decorateRequestDefaults

decorateRequestDefaults: DecorateResponse

Overrides

AbstractAuthPlugin.decorateRequestDefaults

Defined in

packages/backend/server/src/auth-plugins/generic/generic-auth-plugin.ts:32


decorateUserStatus

decorateUserStatus: DecorateUserStatus

Overrides

AbstractAuthPlugin.decorateUserStatus

Defined in

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


isAuthorized

isAuthorized: IsUserAuthorized

Overrides

AbstractAuthPlugin.isAuthorized

Defined in

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


logger

Protected logger: undefined | Logger = undefined

Inherited from

AbstractAuthPlugin.logger

Defined in

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

Accessors

internalConfig

get internalConfig(): AuthPluginInternalConfig

Returns

AuthPluginInternalConfig

Inherited from

AbstractAuthPlugin.internalConfig

Defined in

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

Methods

exposedEndpoints

exposedEndpoints(): Record<string, any>

Returns

Record<string, any>

Overrides

AbstractAuthPlugin.exposedEndpoints

Defined in

packages/backend/server/src/auth-plugins/generic/generic-auth-plugin.ts:52


onPluginRegister

onPluginRegister(onRegisterConfig): Promise<undefined>

Parameters

NameType
onRegisterConfigAuthPluginOnRegisterConfig

Returns

Promise<undefined>

Overrides

AbstractAuthPlugin.onPluginRegister

Defined in

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


onRegister

onRegister(onRegisterConfig): Promise<undefined>

Do not override

Parameters

NameType
onRegisterConfigAuthPluginOnRegisterConfig

Returns

Promise<undefined>

Inherited from

AbstractAuthPlugin.onRegister

Defined in

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