one-time-password

How to implement two factor auth in Web API 2 using ASP.NET identity?

两盒软妹~` 提交于 2019-12-04 20:40:41
问题 I have seen this link Two Factor Auth using goolgle authenticator on how to create a two factor authentication in web api, but my requirements are little different. I want to use two factor authentication for issuing an access token. (If the user has chosen to enable two factor authentication) I would like to create the OTP code using ASP.NET identity itself. (Like the way we do in MVC web application SignInManager.SendTwoFactorCodeAsync("Phone Code") The problem with my current

How can you generate OTP with system.security.cryptography that can be authenticated on client?

↘锁芯ラ 提交于 2019-12-04 16:53:08
Anyone know where I could find sample code for this with system.security.cryptography namespace -- or instructions followable by a developer? The purpose is to add two-factor authentication to an asp.net website. On website I want to ask user to enter a passcode (similar to if they got it from a keyfob). On the client side I want to provide a vb.net windows.forms program that generates the correct passcode. I want to do this with system.security.cryptography namespace on a small scale. I was looking for sample code I don't want to mess with devices or purchase authentication server appliances.

How to implement two factor auth in Web API 2 using ASP.NET identity?

别来无恙 提交于 2019-12-03 12:57:20
I have seen this link Two Factor Auth using goolgle authenticator on how to create a two factor authentication in web api, but my requirements are little different. I want to use two factor authentication for issuing an access token. (If the user has chosen to enable two factor authentication) I would like to create the OTP code using ASP.NET identity itself. (Like the way we do in MVC web application SignInManager.SendTwoFactorCodeAsync("Phone Code") The problem with my current implementation is, when I call SignInManager.SendTwoFactorCodeAsync("Phone Code") I get the error user id not found.

How to populate OTP from user's message box to application directly in iPhone? [duplicate]

 ̄綄美尐妖づ 提交于 2019-11-30 09:58:06
This question already has an answer here: iPhone application – reading SMS 3 answers I am working on an internet trading application with its mobile and iPhone applications available. With the recent market trend, we are working on including two-factor authentication. For that, we will be sending a one-time password as a sms on user's registered mobile number. Is there a way,that the OTP can get automatically populated into application from user's message box in iPhone? What algorithm should I use to make my app read user's message box? Thanks in advance:) Charan Giri You can Access SMS from

Android one time password (OTP) user registration/opening account

拟墨画扇 提交于 2019-11-28 18:03:17
I want to implement OTP functionality in my android application. In this application, after signup user will receive one time password key . After verifying OTP , user will be able to register/open account successfully by using that OTP. What i need to do achieve this? Check google authenticator. https://code.google.com/p/google-authenticator/ it is open source project with OTP functionality Source code for android app https://code.google.com/p/google-authenticator/source/browse/?repo=android Here is source code for server side https://github.com/chregu/GoogleAuthenticator.php Wikipedia

Automatic OTP verification in iOS?

自古美人都是妖i 提交于 2019-11-27 19:26:37
Is there any way to access data from iPhone inbox(SMS) to ios application to do automatic OTP verification like the one in Android? I shall be grateful for your help. In iOS 12 Apple has introduced feature called Security Code AutoFill . To use this in your app all you need to do is set UITextField 's input view’s textContentType property oneTimeCode . otpTextField.textContentType = .oneTimeCode NOTE : Security Code AutoFill will only works with System Keyboard it will not work with custom keyboard. WWDC video When you get OTP it will look something like this: UPDATE From iOS 12 Apple will

Android one time password (OTP) user registration/opening account

喜欢而已 提交于 2019-11-27 11:00:43
问题 I want to implement OTP functionality in my android application. In this application, after signup user will receive one time password key . After verifying OTP , user will be able to register/open account successfully by using that OTP. What i need to do achieve this? 回答1: Check google authenticator. https://code.google.com/p/google-authenticator/ it is open source project with OTP functionality Source code for android app https://code.google.com/p/google-authenticator/source/browse/?repo

Google Authenticator implementation in Python

可紊 提交于 2019-11-27 05:45:12
I am trying to use one-time passwords that can be generated using Google Authenticator application . What Google Authenticator does Basically, Google Authenticator implements two types of passwords: HOTP - HMAC-based One-Time Password, which means the password is changed with each call, in compliance to RFC4226 , and TOTP - Time-based One-Time Password, which changes for every 30-seconds period (as far as I know). Google Authenticator is also available as Open Source here: code.google.com/p/google-authenticator Current code I was looking for existing solutions to generate HOTP and TOTP

OTP (token) should be automatically read from the message

懵懂的女人 提交于 2019-11-26 17:58:35
问题 I am working on an Android App, in which server sends an OTP and the user needs to enter this OTP in the App, to SignUp for my App. What I want is, that my App should be able to automatically read the OTP sent by the server. How can I achieve this? Any help or guidance in this regard would be highly appreciated. 回答1: I will recommend you not to use any third party libraries for auto fetch OTP from SMS Inbox. This can be done easily if you have basic understanding of Broadcast Receiver and how

Google Authenticator implementation in Python

筅森魡賤 提交于 2019-11-26 11:43:51
问题 I am trying to use one-time passwords that can be generated using Google Authenticator application. What Google Authenticator does Basically, Google Authenticator implements two types of passwords: HOTP - HMAC-based One-Time Password, which means the password is changed with each call, in compliance to RFC4226, and TOTP - Time-based One-Time Password, which changes for every 30-seconds period (as far as I know). Google Authenticator is also available as Open Source here: code.google.com/p