PasswordCredential


class PasswordCredential : Credential


Represents the user's password credential granted by the user for app sign-in.

Summary

Constants

const String

The type value for password related operations.

Public constructors

PasswordCredential(id: String, password: String)

Constructs a PasswordCredential.

Public properties

String

the user id associated with the password

String

the password

Inherited properties

From androidx.credentials.Credential
Bundle

the credential data in the Bundle format

String

the credential type determined by the credential-type-specific subclass (e.g. PasswordCredential.TYPE_PASSWORD_CREDENTIAL for PasswordCredential or PublicKeyCredential.TYPE_PUBLIC_KEY_CREDENTIAL for PublicKeyCredential)

Constants

TYPE_PASSWORD_CREDENTIAL

const val TYPE_PASSWORD_CREDENTIALString

The type value for password related operations.

Public constructors

PasswordCredential

Added in 1.2.0
PasswordCredential(id: String, password: String)

Constructs a PasswordCredential.

Parameters
id: String

the user id associated with the password

password: String

the password

Public properties

id

Added in 1.2.0
val idString

the user id associated with the password

password

Added in 1.2.0
val passwordString

the password