Skip to main content

Interface: GenericAuthConfig

Properties

decorateRequestDefaults

Optional decorateRequestDefaults: DecorateResponse

Defined in

packages/backend/server/src/auth-plugins/generic/types.ts:5


decorateUserStatus

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

Defined in

packages/backend/server/src/auth-plugins/generic/types.ts:6


exposedEndpoints

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

Type declaration

▸ (): Record<string, any>

Returns

Record<string, any>

Defined in

packages/backend/server/src/auth-plugins/generic/types.ts:8


isAuthorized

isAuthorized: IsUserAuthorized

Defined in

packages/backend/server/src/auth-plugins/generic/types.ts:7


onPluginRegister

Optional onPluginRegister: (onRegisterConfig: AuthPluginOnRegisterConfig) => Promise<undefined>

Type declaration

▸ (onRegisterConfig): Promise<undefined>

Parameters
NameType
onRegisterConfigAuthPluginOnRegisterConfig
Returns

Promise<undefined>

Defined in

packages/backend/server/src/auth-plugins/generic/types.ts:4