Table of Contents

Class OtpGeneratorService

Namespace
SEBT.Portal.Infrastructure.Services
Assembly
SEBT.Portal.Infrastructure.dll

Service responsible for generating One-Time Passwords (OTP).

public class OtpGeneratorService : IOtpGeneratorService
Inheritance
object
OtpGeneratorService
Implements

Methods

GenerateOtp()

Generates a 6-digit numeric One-Time Password (OTP).

public string GenerateOtp()

Returns

string

A string representation of a randomly generated 6-digit numeric code.