UNPKG

@bitwild/rockets-auth

Version:

Rockets Auth - Complete authentication and authorization solution for NestJS with JWT, OAuth, OTP, role-based access control, and more

13 lines 872 B
import { IssueTokenServiceInterface } from '@concepta/nestjs-authentication'; import { RocketsAuthOtpConfirmDto } from '../dto/rockets-auth-otp-confirm.dto'; import { RocketsAuthOtpSendDto } from '../dto/rockets-auth-otp-send.dto'; import { RocketsAuthAuthenticationResponseInterface } from '../../../interfaces/common/rockets-auth-authentication-response.interface'; import { RocketsAuthOtpService } from '../services/rockets-auth-otp.service'; export declare class RocketsAuthOtpController { private issueTokenService; private readonly otpService; constructor(issueTokenService: IssueTokenServiceInterface, otpService: RocketsAuthOtpService); sendOtp(dto: RocketsAuthOtpSendDto): Promise<void>; confirmOtp(dto: RocketsAuthOtpConfirmDto): Promise<RocketsAuthAuthenticationResponseInterface>; } //# sourceMappingURL=rockets-auth-otp.controller.d.ts.map