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