From the course: Writing Secure Code for Android by Infosec

Unlock this course with a free trial

Join today to access over 25,400 courses taught by industry experts.

Authentication, part 2

Authentication, part 2

- Authentication, Part 2. Here's a biometric authentication example. Now, we'll play with biometrics. Let's pretend we already set up a login prompt and now we want to handle the callback on login success. 'cause the system has the biometric authenticator. You have the app that basically says, here's a biometric prompt. Oh, and by the way, if you can't do biometrics, you can use username and password. But you go and do biometric authentication. And if that works, then the biometric system calls back to the app and says, "Yeah, they logged in okay." So here's our authentication callback, and if it succeeded, then we're going to get a result, which is basically let them see the main layout, let them see the main view, let it become visible. So you authenticated, now you can see the main layout of the app. Here's an example of a one-time passcode. So I go to, you know, my email and I've already set it up for a little stronger two-factor authentication. So as soon as I log in with my…

Contents