다음을 통해 공유


AbstractAccountAuthenticator.ConfirmCredentials Method

Definition

Checks that the user knows the credentials of an account.

[Android.Runtime.Register("confirmCredentials", "(Landroid/accounts/AccountAuthenticatorResponse;Landroid/accounts/Account;Landroid/os/Bundle;)Landroid/os/Bundle;", "GetConfirmCredentials_Landroid_accounts_AccountAuthenticatorResponse_Landroid_accounts_Account_Landroid_os_Bundle_Handler")]
public abstract Android.OS.Bundle? ConfirmCredentials (Android.Accounts.AccountAuthenticatorResponse? response, Android.Accounts.Account? account, Android.OS.Bundle? options);
[<Android.Runtime.Register("confirmCredentials", "(Landroid/accounts/AccountAuthenticatorResponse;Landroid/accounts/Account;Landroid/os/Bundle;)Landroid/os/Bundle;", "GetConfirmCredentials_Landroid_accounts_AccountAuthenticatorResponse_Landroid_accounts_Account_Landroid_os_Bundle_Handler")>]
abstract member ConfirmCredentials : Android.Accounts.AccountAuthenticatorResponse * Android.Accounts.Account * Android.OS.Bundle -> Android.OS.Bundle

Parameters

response
AccountAuthenticatorResponse

to send the result back to the AccountManager, will never be null

account
Account

the account whose credentials are to be checked, will never be null

options
Bundle

a Bundle of authenticator-specific options, may be null

Returns

a Bundle result or null if the result is to be returned via the response. The result will contain either: <ul> <li> AccountManager#KEY_INTENT, or <li> AccountManager#KEY_BOOLEAN_RESULT, true if the check succeeded, false otherwise <li> AccountManager#KEY_ERROR_CODE and AccountManager#KEY_ERROR_MESSAGE to indicate an error </ul>

Attributes

Exceptions

if the authenticator could not honor the request due to a network error

Remarks

Checks that the user knows the credentials of an account.

Java documentation for android.accounts.AbstractAccountAuthenticator.confirmCredentials(android.accounts.AccountAuthenticatorResponse, android.accounts.Account, android.os.Bundle).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to