![]() ![]() This changes the value in the generated data string from to a%40b.com. Changed from using EscapeUriString to EscapeDataString to encode the "account title" as the former is obsolete in.Linux installations no longer need to ensure libgdiplus is installed as it is no longer used.In 2.5, only Net 6.0 avoided System.Drawing. All use of System.Drawing has been removed.Lowest supported versions are now netstandard2.0 and. Support ValidateTwoFactorPIN with iterationOffset as parameter.3.1.1įixed an edge case where specifying an interval of 30 seconds to the Validate function would be treated as if you had passed in 0. In testing it was found that several popular apps (such as Authy and Microsoft Authenticator) may not have support for these algorithms so care should be taken by the developer to ensure compatible apps are used. ![]() LblManualSetupCode.Text = manualEntrySetupCode īool result = tfa.ValidateTwoFactorPIN(key, txtCode.Text)Īdded support for HMACSHA256 and HMACSHA512 as per the RFC spec. String manualEntrySetupCode = setupInfo.ManualEntryKey String qrCodeImageUrl = setupInfo.QrCodeSetupImageUrl SetupCode setupInfo = tfa.GenerateSetupCode("Test Two Factor", key, false, 3) TwoFactorAuthenticator tfa = new TwoFactorAuthenticator() The process of storing the private key is outside the scope of this library and is the responsibility of the application. Key should be stored by your application for future authentication and shouldn't be regenerated for each request. Install-Package GoogleAuthenticator UsageĪdditional examples at and Simple, easy to use server-side two-factor authentication library for.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |