3 references to ComputeTotp
Microsoft.Extensions.Identity.Core (3)
AuthenticatorTokenProvider.cs (1)
73var expectedCode = Rfc6238AuthenticationService.ComputeTotp(hash, (ulong)(timestep + i), modifierBytes: null);
Rfc6238AuthenticationService.cs (2)
102return ComputeTotp(hashAlgorithm, currentTimeStep, modifierBytes); 124var computedTotp = ComputeTotp(hashAlgorithm, (ulong)((long)currentTimeStep + i), modifierBytes);