PasswordCredential
public final class PasswordCredential extends Credential
Represents the user's password credential granted by the user for app sign-in.
Summary
Public constructors |
|---|
PasswordCredential(@NonNull String id, @NonNull String password)Constructs a |
Public methods |
|
|---|---|
final @NonNull String |
getId()the user id associated with the password |
final @NonNull String |
the password |
Inherited methods |
||||
|---|---|---|---|---|
|
Constants
TYPE_PASSWORD_CREDENTIAL
public static final @NonNull String TYPE_PASSWORD_CREDENTIAL
The type value for password related operations.
Public constructors
PasswordCredential
public PasswordCredential(@NonNull String id, @NonNull String password)
Constructs a PasswordCredential.
| Parameters | |
|---|---|
@NonNull String id |
the user id associated with the password |
@NonNull String password |
the password |
| Throws | |
|---|---|
kotlin.NullPointerException |
If |
kotlin.NullPointerException |
If |
kotlin.IllegalArgumentException |
If |