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
-
objectOtpGeneratorService
- 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.