Android.Accounts.AbstractAccountAuthenticator.GetAuthToken Method
Gets the authtoken for an account.

Syntax

[Android.Runtime.Register("getAuthToken", "(Landroid/accounts/AccountAuthenticatorResponse;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;", "GetGetAuthToken_Landroid_accounts_AccountAuthenticatorResponse_Landroid_accounts_Account_Ljava_lang_String_Landroid_os_Bundle_Handler")]
public abstract Android.OS.Bundle GetAuthToken (AccountAuthenticatorResponse response, Account account, string authTokenType, Android.OS.Bundle options)

Parameters

response
to send the result back to the AccountManager, will never be null
account
the account whose credentials are to be retrieved, will never be null
authTokenType
the type of auth token to retrieve, will never be null
options
a Bundle of authenticator-specific options, may be null

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Android.Accounts.NetworkErrorExceptionif the authenticator could not honor the request due to a network error

Remarks

Gets the authtoken for an account.

[Android Documentation]

Requirements

Namespace: Android.Accounts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5