damirkusar / aspnetcore.totp Goto Github PK
View Code? Open in Web Editor NEWTime-based One-time Password Algorithm to be used with Google Authenticator
License: MIT License
Time-based One-time Password Algorithm to be used with Google Authenticator
License: MIT License
How to change the number of digits in code? The examples don't show how to do this...
NUGET_AUTH_TOKEN
(How to add secret)return File(qrCode.QrCodeImageBytes, "image/png");
always giving me that
'TotpSetup' does not contain a definition for 'QrCodeImageBytes' and no accessible extension method 'QrCodeImageBytes' accepting a first argument of type 'TotpSetup' could be found (are you missing a using directive or an assembly reference?)
everything else works fine
This plugin has been running flawlessly for a year now, but since today (we just noticed it) we're getting the following error. Is there an issue with the Google QR website or does this library needs updating? Thank you in advance.
System.Net.Http.HttpRequestException: Unexpected result from the Google QR web site.
---> System.Exception: Unexpected result from the Google QR web site.
at AspNetCore.Totp.TotpSetupGenerator.GetQrImage(String url, Int32 timeoutInSeconds)
--- End of inner exception stack trace ---
at AspNetCore.Totp.TotpSetupGenerator.GetQrImage(String url, Int32 timeoutInSeconds)
at AspNetCore.Totp.TotpSetupGenerator.Generate(String issuer, String accountIdentity, String accountSecretKey, Int32 qrCodeWidth, Int32 qrCodeHeight, Boolean useHttps)
It is working great with Microsoft Authenicator too, so you can maybe extend your documentation and add this fact too.
I tested both, manual setup and QR Code on my iPhone and all worked like a charm.
Thank you for great library.
Hi,
The 2.1 package has a dependency on AspNetCore.Totp.Interface which doesn't exist -
https://www.nuget.org/packages/AspNetCore.Totp/
https://www.nuget.org/packages/AspNetCore.Totp.Interface/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.