Langsung ke konten utama

Postingan

Menampilkan postingan dengan label smart lock for password

Smart Lock API in Android

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. Reference : Official Link Project Setup Smart Lock for Passwords on Android requires the following: Add the following line in app level gradle file compile 'com.google.android.gms:play-services-auth:10.0.1' Then Click Sync Now Coding Part Create your activity with implements of  GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConne...