3 references to Rfc6238AuthenticationService
Microsoft.Extensions.Identity.Core (3)
AuthenticatorTokenProvider.cs (1)
73var expectedCode = Rfc6238AuthenticationService.ComputeTotp(hash, (ulong)(timestep + i), modifierBytes: null);
TotpSecurityStampBasedTokenProvider.cs (2)
43return Rfc6238AuthenticationService.GenerateCode(token, modifier).ToString("D6", CultureInfo.InvariantCulture); 70return securityToken != null && Rfc6238AuthenticationService.ValidateCode(securityToken, code, modifier);