Class: OtpModule
Otp Module
Extends
- OtpModuleClass
Constructors
new OtpModule()
new OtpModule():
OtpModule
Returns
Inherited from
OtpModuleClass.constructor
Defined in
node_modules/@nestjs/common/module-utils/interfaces/configurable-module-cls.interface.d.ts:12
Methods
forFeature()
staticforFeature(options):DynamicModule
Parameters
| Parameter | Type | 
|---|---|
| options | OtpOptions | 
Returns
DynamicModule
Defined in
packages/nestjs-otp/src/otp.module.ts:33 (opens in a new tab)
forRoot()
staticforRoot(options):DynamicModule
Parameters
| Parameter | Type | 
|---|---|
| options | OtpOptions | 
Returns
DynamicModule
Defined in
packages/nestjs-otp/src/otp.module.ts:25 (opens in a new tab)
forRootAsync()
staticforRootAsync(options):DynamicModule
Parameters
| Parameter | Type | 
|---|---|
| options | OtpAsyncOptions | 
Returns
DynamicModule
Defined in
packages/nestjs-otp/src/otp.module.ts:29 (opens in a new tab)
register()
staticregister(options):DynamicModule
Parameters
| Parameter | Type | 
|---|---|
| options | OtpOptions | 
Returns
DynamicModule
Overrides
OtpModuleClass.register
Defined in
packages/nestjs-otp/src/otp.module.ts:17 (opens in a new tab)
registerAsync()
staticregisterAsync(options):DynamicModule
Parameters
| Parameter | Type | 
|---|---|
| options | OtpAsyncOptions | 
Returns
DynamicModule
Overrides
OtpModuleClass.registerAsync
Defined in
packages/nestjs-otp/src/otp.module.ts:21 (opens in a new tab)