UNPKG

payme-integration

Version:

NestJS integration module for Payme payment system

10 lines (9 loc) 374 B
import { CanActivate, ExecutionContext } from '@nestjs/common'; import { PaymeGuardOptions } from '../payme'; export declare class PaymeBasicAuthGuard implements CanActivate { private readonly config; constructor(config: PaymeGuardOptions); canActivate(context: ExecutionContext): Promise<boolean>; private extractTokenFromHeader; private decodeToken; }