C# Class Xamarin.Auth.AccountStore.AccountStore

Afficher le fichier Open project: nachocove/Xamarin.Auth

Méthodes publiques

Méthode 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 méthode

Create an account store.
public static Create ( ) : AccountStore
Résultat AccountStore

Create() public static méthode

Create an account store.
public static Create ( Android.Content.Context context ) : AccountStore
context Android.Content.Context
Résultat AccountStore

Delete() public abstract méthode

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

FindAccountsForService() public abstract méthode

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

Save() public abstract méthode

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. ///
Résultat void