@sourceloop/ctrl-plane-tenant-management-service / Exports / WebhookVerifierProvider
Class: WebhookVerifierProvider¶
Implements¶
Provider
<Interceptor
>
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new WebhookVerifierProvider(webhookConfig
, cryptoHelperService
, webhookSecretRepo
, logger
, setCurrentUser
, systemUser
)
Parameters¶
Name | Type |
---|---|
webhookConfig |
WebhookConfig |
cryptoHelperService |
CryptoHelperService |
webhookSecretRepo |
WebhookSecretRepository |
logger |
ILogger |
setCurrentUser |
Setter <IAuthUser > |
systemUser |
IAuthUser |
Defined in¶
services/tenant-management-service/src/interceptors/webhook-verifier.interceptor.ts:21
Properties¶
cryptoHelperService¶
• Private
Readonly
cryptoHelperService: CryptoHelperService
Defined in¶
services/tenant-management-service/src/interceptors/webhook-verifier.interceptor.ts:25
logger¶
• Private
Readonly
logger: ILogger
Defined in¶
services/tenant-management-service/src/interceptors/webhook-verifier.interceptor.ts:29
setCurrentUser¶
• Private
Readonly
setCurrentUser: Setter
<IAuthUser
>
Defined in¶
services/tenant-management-service/src/interceptors/webhook-verifier.interceptor.ts:31
systemUser¶
• Private
Readonly
systemUser: IAuthUser
Defined in¶
services/tenant-management-service/src/interceptors/webhook-verifier.interceptor.ts:33
webhookConfig¶
• Private
Readonly
webhookConfig: WebhookConfig
Defined in¶
services/tenant-management-service/src/interceptors/webhook-verifier.interceptor.ts:23
webhookSecretRepo¶
• Private
Readonly
webhookSecretRepo: WebhookSecretRepository
Defined in¶
services/tenant-management-service/src/interceptors/webhook-verifier.interceptor.ts:27
Methods¶
intercept¶
▸ intercept<T
>(invocationCtx
, next
): Promise
<T
>
Type parameters¶
Name |
---|
T |
Parameters¶
Name | Type |
---|---|
invocationCtx |
InvocationContext |
next |
() => ValueOrPromise <T > |
Returns¶
Promise
<T
>
Defined in¶
services/tenant-management-service/src/interceptors/webhook-verifier.interceptor.ts:40
value¶
▸ value(): invocationCtx
: InvocationContext
, next
: () => ValueOrPromise
<T
>) => Promise
<T
>
Returns¶
fn
▸ <T
>(invocationCtx
, next
): Promise
<T
>
Type parameters¶
Name |
---|
T |
Parameters¶
Name | Type |
---|---|
invocationCtx |
InvocationContext |
next |
() => ValueOrPromise <T > |
Returns¶
Promise
<T
>
Implementation of¶
Provider.value
Defined in¶
services/tenant-management-service/src/interceptors/webhook-verifier.interceptor.ts:36