Is there an equivalent to iOS's Keychain for user credentials on Android?

前端 未结 4 1243
青春惊慌失措
青春惊慌失措 2020-12-04 21:04

Is there an equivalent to iOS\'s Keychain on Android?

My understanding of the Preferences API is that it is not encrypted. For my application it does

4条回答
  •  鱼传尺愫
    2020-12-04 21:41

    Actually there is:

    By integrating Smart Lock for Passwords into your Android app, you can automatically sign users in to your app using the credentials they have saved. Users can save both username-password credentials and federated identity provider credentials.

    Integrate Smart Lock for Passwords into your app by using the Credentials API to retrieve saved credentials on sign-in. Use successfully retrieved credentials to sign the user in, or use the Credentials API to rapidly on-board new users by partially completing your app's sign in or sign up form. Prompt users after sign-in or sign-up to store their credentials for future automatic authentication.

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

提交回复
热议问题