@terminaldz/zrexpress-sdk / nestjs / ZrExpressWebhookGuard
Class: ZrExpressWebhookGuard
Defined in: nestjs/webhook.guard.ts:28
Implements
CanActivate
Constructors
Constructor
ts
new ZrExpressWebhookGuard(verifier): ZrExpressWebhookGuard;Defined in: nestjs/webhook.guard.ts:29
Parameters
| Parameter | Type |
|---|---|
verifier | WebhookVerifier | null |
Returns
ZrExpressWebhookGuard
Methods
canActivate()
ts
canActivate(context): boolean;Defined in: nestjs/webhook.guard.ts:33
Parameters
| Parameter | Type | Description |
|---|---|---|
context | ExecutionContext | Current execution context. Provides access to details about the current request pipeline. |
Returns
boolean
Value indicating whether or not the current request is allowed to proceed.
Implementation of
ts
CanActivate.canActivate