class SmartlockController
SmartlockController(loginActivity: BaseLoginActivity, smartlockReceiver: SmartlockReceiver) |
fun deleteCredential(): Unit |
|
fun provideCredential(parcelable: Parcelable): Unit |
|
fun provideHint(parcelable: Parcelable): Unit |
|
fun saveCredential(identifier: String, password: String): Unit |
|
fun start(): Unit |
const val EXTRA_SMARTLOCK_CREDENTIALS: String
Key used to extract the Parcelable credential object from an Intent Note that you should not directly cast the object as Credential com.google.android.gms.credentials.Credential, that would bring a dependency which might not be resolvable if the smartlock dependency isn't added by the client. This must be checked in BaseLoginActivity.onActivityResult |
|
const val RC_CHOOSE_ACCOUNT: Int
Request code sent by the smartlock controller when the user has to choose between multiple account the one to login with. This must be checked in BaseLoginActivity.onActivityResult |
|
const val RC_IDENTIFIER_ONLY: Int
Request code sent by the smartlock controller when the user has to choose which account must be used to pre-fill the identifier field. This must be checked in BaseLoginActivity.onActivityResult |
fun isSmartlockAvailable(): Boolean |