API Reference
Rockets Core API
nestjs-otp
classes
OtpModule

Class: OtpModule

Otp Module

Extends

  • OtpModuleClass

Constructors

new OtpModule()

new OtpModule(): OtpModule

Returns

OtpModule

Inherited from

OtpModuleClass.constructor

Defined in

node_modules/@nestjs/common/module-utils/interfaces/configurable-module-cls.interface.d.ts:12

Methods

forFeature()

static forFeature(options): DynamicModule

Parameters

ParameterType
optionsOtpOptions

Returns

DynamicModule

Defined in

packages/nestjs-otp/src/otp.module.ts:33 (opens in a new tab)


forRoot()

static forRoot(options): DynamicModule

Parameters

ParameterType
optionsOtpOptions

Returns

DynamicModule

Defined in

packages/nestjs-otp/src/otp.module.ts:25 (opens in a new tab)


forRootAsync()

static forRootAsync(options): DynamicModule

Parameters

ParameterType
optionsOtpAsyncOptions

Returns

DynamicModule

Defined in

packages/nestjs-otp/src/otp.module.ts:29 (opens in a new tab)


register()

static register(options): DynamicModule

Parameters

ParameterType
optionsOtpOptions

Returns

DynamicModule

Overrides

OtpModuleClass.register

Defined in

packages/nestjs-otp/src/otp.module.ts:17 (opens in a new tab)


registerAsync()

static registerAsync(options): DynamicModule

Parameters

ParameterType
optionsOtpAsyncOptions

Returns

DynamicModule

Overrides

OtpModuleClass.registerAsync

Defined in

packages/nestjs-otp/src/otp.module.ts:21 (opens in a new tab)