C# Class Xamarin.Auth.AccountStore.AccountStore

Show file Open project: nachocove/Xamarin.Auth

Public Methods

Method Description
Create ( ) : AccountStore

Create an account store.

Create ( Android.Content.Context context ) : AccountStore

Create an account store.

Delete ( Account account, string serviceId ) : void

Deletes the account for a given serviceId.

FindAccountsForService ( string serviceId ) : IEnumerable

Finds the accounts for a given service.

Save ( Account account, string serviceId ) : void

Save the specified account by combining its username and the serviceId to form a primary key.

Method Details

Create() public static method

Create an account store.
public static Create ( ) : AccountStore
return AccountStore

Create() public static method

Create an account store.
public static Create ( Android.Content.Context context ) : AccountStore
context Android.Content.Context
return AccountStore

Delete() public abstract method

Deletes the account for a given serviceId.
public abstract Delete ( Account account, string serviceId ) : void
account Account /// Account to delete. ///
serviceId string /// Service identifier. ///
return void

FindAccountsForService() public abstract method

Finds the accounts for a given service.
public abstract FindAccountsForService ( string serviceId ) : IEnumerable
serviceId string /// Service identifier. ///
return IEnumerable

Save() public abstract method

Save the specified account by combining its username and the serviceId to form a primary key.
public abstract Save ( Account account, string serviceId ) : void
account Account /// Account to store. ///
serviceId string /// Service identifier. ///
return void