# PassportGenerateHook Class

Module
import { PassportGenerateHook } from "@tsed/cli-plugin-passport"
Source/packages/cli-plugin-passport/src/hooks/PassportGenerateHook.ts

# Overview

class PassportGenerateHook {
    projectPackageJson: ProjectPackageJson;
    srcRenderService: SrcRendererService;
    passportClient: PassportClient;
    packages: any[];
    constructor(providersInfoService: ProvidersInfoService);
    onGeneratePrompt(): Promise<QuestionOptions>;
    onGenerateExec(ctx: PassportGenerateOptions): Tasks;
}

# Members

projectPackageJson: ProjectPackageJson

srcRenderService: SrcRendererService

passportClient: PassportClient

packages: any[]

onGeneratePrompt(): Promise<QuestionOptions>

onGenerateExec(ctx: PassportGenerateOptions): Tasks