Class KinveyAccountAuthenticator
Kinvey account authenticator.
Inheritance
System.Object
KinveyAccountAuthenticator
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class KinveyAccountAuthenticator : AbstractAccountAuthenticator
Constructors
| Improve this Doc View SourceKinveyAccountAuthenticator(Context)
Declaration
public KinveyAccountAuthenticator(Context context)
Parameters
Type | Name | Description |
---|---|---|
Context | context |
Methods
| Improve this Doc View SourceAddAccount(AccountAuthenticatorResponse, String, String, String[], Android.OS.Bundle)
Adds the account.
Declaration
public override Android.OS.Bundle AddAccount(AccountAuthenticatorResponse response, string accountType, string authTokenType, string[] requiredFeatures, Android.OS.Bundle options)
Parameters
Type | Name | Description |
---|---|---|
AccountAuthenticatorResponse | response | Response. |
System.String | accountType | Account type. |
System.String | authTokenType | Auth token type. |
System.String[] | requiredFeatures | Required features. |
Android.OS.Bundle | options | Options. |
Returns
Type | Description |
---|---|
Android.OS.Bundle | The account. |
ConfirmCredentials(AccountAuthenticatorResponse, Account, Android.OS.Bundle)
Declaration
public override Android.OS.Bundle ConfirmCredentials(AccountAuthenticatorResponse response, Account account, Android.OS.Bundle options)
Parameters
Type | Name | Description |
---|---|---|
AccountAuthenticatorResponse | response | |
Account | account | |
Android.OS.Bundle | options |
Returns
Type | Description |
---|---|
Android.OS.Bundle |
EditProperties(AccountAuthenticatorResponse, String)
Declaration
public override Android.OS.Bundle EditProperties(AccountAuthenticatorResponse response, string accountType)
Parameters
Type | Name | Description |
---|---|---|
AccountAuthenticatorResponse | response | |
System.String | accountType |
Returns
Type | Description |
---|---|
Android.OS.Bundle |
GetAuthToken(AccountAuthenticatorResponse, Account, String, Android.OS.Bundle)
Gets the auth token.
Declaration
public override Android.OS.Bundle GetAuthToken(AccountAuthenticatorResponse response, Account account, string authTokenType, Android.OS.Bundle options)
Parameters
Type | Name | Description |
---|---|---|
AccountAuthenticatorResponse | response | Response. |
Account | account | Account. |
System.String | authTokenType | Auth token type. |
Android.OS.Bundle | options | Options. |
Returns
Type | Description |
---|---|
Android.OS.Bundle | The auth token. |
GetAuthTokenLabel(String)
Declaration
public override string GetAuthTokenLabel(string authTokenType)
Parameters
Type | Name | Description |
---|---|---|
System.String | authTokenType |
Returns
Type | Description |
---|---|
System.String |
HasFeatures(AccountAuthenticatorResponse, Account, String[])
Declaration
public override Android.OS.Bundle HasFeatures(AccountAuthenticatorResponse response, Account account, string[] features)
Parameters
Type | Name | Description |
---|---|---|
AccountAuthenticatorResponse | response | |
Account | account | |
System.String[] | features |
Returns
Type | Description |
---|---|
Android.OS.Bundle |
UpdateCredentials(AccountAuthenticatorResponse, Account, String, Android.OS.Bundle)
Declaration
public override Android.OS.Bundle UpdateCredentials(AccountAuthenticatorResponse response, Account account, string authTokenType, Android.OS.Bundle options)
Parameters
Type | Name | Description |
---|---|---|
AccountAuthenticatorResponse | response | |
Account | account | |
System.String | authTokenType | |
Android.OS.Bundle | options |
Returns
Type | Description |
---|---|
Android.OS.Bundle |