Skip to content

@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 ​

ParameterType
verifierWebhookVerifier | null

Returns ​

ZrExpressWebhookGuard

Methods ​

canActivate() ​

ts
canActivate(context): boolean;

Defined in: nestjs/webhook.guard.ts:33

Parameters ​

ParameterTypeDescription
contextExecutionContextCurrent 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

Released under the MIT License. Not affiliated with ZR Express.