Android M - usb / password keychain

Here is the workflow from iOS that I am trying to achieve on Android:

  • The user launches the application for the first time and successfully logs in with credentials (the API is sent for verification).
  • Invitations to register with Touch ID
  • User selects YES => Username / Password stored in Keychain
  • The user logs out, closes and restarts the application.
  • Invitations show to use fingerprint for authentication
  • User uses fingerprint for authentication => Username / Password is retrieved from Keychain and then sent to API

Is there an Android equivalent of the iOS Keychain API? From what I read, Keystore seems to only be able to store keys and certificates.

+6
source share
1 answer

Here he is:

By integrating Smart Lock for passwords into your Android application, you can automatically sign users in your application using the credentials that they saved. Users can save user and password credentials and federated identity credentials.

Integrate Smart Lock for passwords into your application using the credential API to retrieve stored credentials at login. use to successfully obtain credentials to sign a user or use the credentials API to quickly introduce new users by partially terminating your application has registered or registered. Prompt users after logging in or registering to save their credentials for future automatic authentication.

https://developers.google.com/identity/smartlock-passwords/android/

0
source

All Articles