UNPKG

@bitwild/rockets-auth

Version:

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

17 lines 1.22 kB
import { ReferenceIdInterface } from '@concepta/nestjs-common'; import { OtpService } from '@concepta/nestjs-otp'; import { RocketsAuthUserModelServiceInterface } from '../../../shared/interfaces/rockets-auth-user-model-service.interface'; import { RocketsAuthOtpNotificationServiceInterface } from '../interfaces/rockets-auth-otp-notification-service.interface'; import { RocketsAuthOtpServiceInterface } from '../interfaces/rockets-auth-otp-service.interface'; import { RocketsAuthSettingsInterface } from '../../../shared/interfaces/rockets-auth-settings.interface'; export declare class RocketsAuthOtpService implements RocketsAuthOtpServiceInterface { private readonly settings; private readonly userModelService; private readonly otpService; private readonly otpNotificationService; private readonly logger; constructor(settings: RocketsAuthSettingsInterface, userModelService: RocketsAuthUserModelServiceInterface, otpService: OtpService, otpNotificationService: RocketsAuthOtpNotificationServiceInterface); sendOtp(email: string): Promise<void>; confirmOtp(email: string, passcode: string): Promise<ReferenceIdInterface>; } //# sourceMappingURL=rockets-auth-otp.service.d.ts.map