????

Your IP : 3.138.197.104


Current Path : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/api/node_modules/@nestjs/jwt/dist/
Upload File :
Current File : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/api/node_modules/@nestjs/jwt/dist/jwt.service.d.ts

/// <reference types="node" />
import * as jwt from 'jsonwebtoken';
import { JwtModuleOptions, JwtSignOptions, JwtVerifyOptions } from './interfaces';
export declare class JwtService {
    private readonly options;
    private readonly logger;
    constructor(options?: JwtModuleOptions);
    sign(payload: string | Buffer | object, options?: JwtSignOptions): string;
    signAsync(payload: string | Buffer | object, options?: JwtSignOptions): Promise<string>;
    verify<T extends object = any>(token: string, options?: JwtVerifyOptions): T;
    verifyAsync<T extends object = any>(token: string, options?: JwtVerifyOptions): Promise<T>;
    decode(token: string, options?: jwt.DecodeOptions): null | {
        [key: string]: any;
    } | string;
    private mergeJwtOptions;
    private getSecretKey;
}