ClearCredentialStateRequest


class ClearCredentialStateRequest


Request class for clearing a user's credential state from the credential providers.

If the request type is TYPE_CLEAR_CREDENTIAL_STATE, then the request will be sent to the credential providers to clear the user's credential state.

If the request type is TYPE_CLEAR_RESTORE_CREDENTIAL, then the request will be sent to the restore credential provider to delete any stored RestoreCredential.

Throws
kotlin.IllegalArgumentException

if the requestType is unsupported type.

Summary

Constants

const String

Clears credential state from all credential providers that have cached a user sign-in states.

const String

Clears restore credential from the device and the backup

Public constructors

creates a new ClearCredentialStateRequest

Public properties

Bundle
String

the type of this request

Constants

TYPE_CLEAR_CREDENTIAL_STATE

const val TYPE_CLEAR_CREDENTIAL_STATEString

Clears credential state from all credential providers that have cached a user sign-in states.

TYPE_CLEAR_RESTORE_CREDENTIAL

const val TYPE_CLEAR_RESTORE_CREDENTIALString

Clears restore credential from the device and the backup

Public constructors

ClearCredentialStateRequest

Added in 1.5.0-alpha05
ClearCredentialStateRequest(
    requestType: String = TYPE_CLEAR_CREDENTIAL_STATE
)

creates a new ClearCredentialStateRequest

Public properties

requestBundle

Added in 1.5.0-alpha05
val requestBundleBundle

requestType

Added in 1.5.0-alpha05
val requestTypeString

the type of this request