TwoStepsAuthenticator | net implementation of the Time-Based One | Authentication library
kandi X-RAY | TwoStepsAuthenticator Summary
kandi X-RAY | TwoStepsAuthenticator Summary
RFC 6238 RFC 4226 Compatible with Microsoft Authenticator and Google Authenticator, for Android and iPhone. You can use this library as well for a client application (if you want to create your own authenticator) or for a server application (add two-step authentication on your asp.net website).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TwoStepsAuthenticator
TwoStepsAuthenticator Key Features
TwoStepsAuthenticator Examples and Code Snippets
Community Discussions
Trending Discussions on TwoStepsAuthenticator
QUESTION
I've found a good 2 factor authentication library on github that I like and I'm trying to integrate it into my Asp.Net Core project, but I'm having trouble finding what I need to do to achieve that.
I've got a custom UserStore implementing IUserStore and IUserTwoFactorStore (As well as a bunch of other interfaces) but those only show how to determine if the user actually has 2-FA enabled or not and set it, but not how to actually add and retrieve a custom provider.
I've got /can figure out all of the code I need to get the 2-FA working, it's just hooking it up that I'm stuck on.
I hope that I don't need to create a custom UserManager implementation, as that could potentially be a lot more work (Although I suspect it's the case - the following methods look promising GetValidTwoFactorProvidersAsync(), GenerateTwoFactorTokenAsync(), VerifyTwoFactorTokenAsync()).
...ANSWER
Answered 2017-Mar-18 at 12:17I ended up creating a custom version of the UserManager class, and only overrode the 3 methods I described above.
It seems to do the job and was pretty quick (I was originally worried that I'd have to implement/override all the methods, but realized once I started that that wasn't the case).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TwoStepsAuthenticator
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page