smartlock / com.schibsted.account.smartlock / SmartlockController

SmartlockController

class SmartlockController : Smartlock

Constructors

<init>

SmartlockController(activity: AppCompatActivity, smartLockCallback: SmartLockCallback)

Properties

options

var options: CredentialsOptions!

Functions

deleteCredentials

fun deleteCredentials(): Unit

Delete stored credential

extractCredentialData

fun extractCredentialData(parcelable: Parcelable): Pair<String?, String?>?

Extract a String identifier and a String password from a Parcelable object

mapToIdentityCredentials

fun mapToIdentityCredentials(parcelable: Parcelable): Credentials?

Convert a Parcelable object to com.schibsted.account.engine.input.Credentials

requestCredentials

fun requestCredentials(): Unit

saveCredentials

fun saveCredentials(username: String, password: String): Unit

Save the crendential to smartlock manager