Table of Contents

Class AbstractAccountAuthenticator

Namespace
Android.Accounts
Assembly
MASES.Netdroid.dll
public class AbstractAccountAuthenticator : JVMBridgeBase<AbstractAccountAuthenticator>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
AbstractAccountAuthenticator
Implements
Extension Methods

Constructors

AbstractAccountAuthenticator(Context)

public AbstractAccountAuthenticator(Context arg0)

Parameters

arg0 Context

Context

AbstractAccountAuthenticator(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractAccountAuthenticator(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

KEY_CUSTOM_TOKEN_EXPIRY

public static String KEY_CUSTOM_TOKEN_EXPIRY { get; set; }

Property Value

String

Methods

AddAccount(AccountAuthenticatorResponse, String, String, String[], Bundle)

public Bundle AddAccount(AccountAuthenticatorResponse arg0, String arg1, String arg2, String[] arg3, Bundle arg4)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 String

String

arg2 String

String

arg3 String[]

String

arg4 Bundle

Bundle

Returns

Bundle

Bundle

Exceptions

NetworkErrorException

AddAccountFromCredentials(AccountAuthenticatorResponse, Account, Bundle)

public Bundle AddAccountFromCredentials(AccountAuthenticatorResponse arg0, Account arg1, Bundle arg2)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 Account

Account

arg2 Bundle

Bundle

Returns

Bundle

Bundle

Exceptions

NetworkErrorException

ConfirmCredentials(AccountAuthenticatorResponse, Account, Bundle)

public Bundle ConfirmCredentials(AccountAuthenticatorResponse arg0, Account arg1, Bundle arg2)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 Account

Account

arg2 Bundle

Bundle

Returns

Bundle

Bundle

Exceptions

NetworkErrorException

CreatePoolableInstance(Context)

HPA initializer for AbstractAccountAuthenticator(Android.Content.Context arg0)

public static AbstractAccountAuthenticator CreatePoolableInstance(Context arg0)

Parameters

arg0 Context

Returns

AbstractAccountAuthenticator

EditProperties(AccountAuthenticatorResponse, String)

public Bundle EditProperties(AccountAuthenticatorResponse arg0, String arg1)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 String

String

Returns

Bundle

Bundle

FinishSession(AccountAuthenticatorResponse, String, Bundle)

public Bundle FinishSession(AccountAuthenticatorResponse arg0, String arg1, Bundle arg2)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 String

String

arg2 Bundle

Bundle

Returns

Bundle

Bundle

Exceptions

NetworkErrorException

GetAccountCredentialsForCloning(AccountAuthenticatorResponse, Account)

public Bundle GetAccountCredentialsForCloning(AccountAuthenticatorResponse arg0, Account arg1)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 Account

Account

Returns

Bundle

Bundle

Exceptions

NetworkErrorException

GetAccountRemovalAllowed(AccountAuthenticatorResponse, Account)

public Bundle GetAccountRemovalAllowed(AccountAuthenticatorResponse arg0, Account arg1)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 Account

Account

Returns

Bundle

Bundle

Exceptions

NetworkErrorException

GetAuthToken(AccountAuthenticatorResponse, Account, String, Bundle)

public Bundle GetAuthToken(AccountAuthenticatorResponse arg0, Account arg1, String arg2, Bundle arg3)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 Account

Account

arg2 String

String

arg3 Bundle

Bundle

Returns

Bundle

Bundle

Exceptions

NetworkErrorException

GetAuthTokenLabel(String)

public String GetAuthTokenLabel(String arg0)

Parameters

arg0 String

String

Returns

String

String

GetIBinder()

public IBinder GetIBinder()

Returns

IBinder

IBinder

HasFeatures(AccountAuthenticatorResponse, Account, String[])

public Bundle HasFeatures(AccountAuthenticatorResponse arg0, Account arg1, String[] arg2)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 Account

Account

arg2 String[]

String

Returns

Bundle

Bundle

Exceptions

NetworkErrorException

IsCredentialsUpdateSuggested(AccountAuthenticatorResponse, Account, String)

public Bundle IsCredentialsUpdateSuggested(AccountAuthenticatorResponse arg0, Account arg1, String arg2)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 Account

Account

arg2 String

String

Returns

Bundle

Bundle

Exceptions

NetworkErrorException

StartAddAccountSession(AccountAuthenticatorResponse, String, String, String[], Bundle)

public Bundle StartAddAccountSession(AccountAuthenticatorResponse arg0, String arg1, String arg2, String[] arg3, Bundle arg4)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 String

String

arg2 String

String

arg3 String[]

String

arg4 Bundle

Bundle

Returns

Bundle

Bundle

Exceptions

NetworkErrorException

StartUpdateCredentialsSession(AccountAuthenticatorResponse, Account, String, Bundle)

public Bundle StartUpdateCredentialsSession(AccountAuthenticatorResponse arg0, Account arg1, String arg2, Bundle arg3)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 Account

Account

arg2 String

String

arg3 Bundle

Bundle

Returns

Bundle

Bundle

Exceptions

NetworkErrorException

UpdateCredentials(AccountAuthenticatorResponse, Account, String, Bundle)

public Bundle UpdateCredentials(AccountAuthenticatorResponse arg0, Account arg1, String arg2, Bundle arg3)

Parameters

arg0 AccountAuthenticatorResponse

AccountAuthenticatorResponse

arg1 Account

Account

arg2 String

String

arg3 Bundle

Bundle

Returns

Bundle

Bundle

Exceptions

NetworkErrorException