Account manager for Xamarin and UWP
Switch branches/tags
Nothing to show
Clone or download
Latest commit 2f64996 Sep 11, 2018
Failed to load latest commit information.
nuget fixed nuspec Dec 8, 2017
src Fixed version selection bug Apr 16, 2018
.gitignore Initial commit Nov 27, 2017
LICENSE Initial commit Nov 27, 2017 Update Sep 11, 2018


Xamarin.Essentials will have this functionallity, please take a look at it. But we will continue to maintain TinyAccountMananger for thoose who use it.


Account manager for Xamarin and UWP. Store account information in your app in a secure way.

Build status

Platform Status

Get started

This is as short guide how to get started using TinyAccountManager.

How to install

The easiest way is to install the package from NuGet:

Install-Package TinyAccountManager

You should install it on all your platform project and if you have other projects in your solution where you want to access it, you should install it there as well.

How to use

Here is a small get started guide, there are also a sample project if you take a look in the src folder.


The first you need to do is to initialize the AccountManager per platform.





The only filed that are required is ServiceId.

var account = new Account()
    ServiceId = "TinyAccountManagerSample",
    Username = "dhindrik"

account.Properties.Add("Password", "MySecretPassword");

await AccountMananger.Current.Save(account);

Get and Exists

It's recommended that you use Exists before Get, if you using Get and there is no matching account it will throw an exception.

Account account = null;

var exists = await AccountManager.Current.Exists("TinyAccountManagerSample")

  account = await AccountManager.Current.Get("TinyAccountManagerSample")


await AccountManager.Current.Remove("TinyAccountManagerSample")


If you want to use IOC instead of the singleton pattern, you just register the implemenation for each platform with the IAccountManager interface. If you select this way you don't have to run Initialize on each platform

iOS: iOSAccountManager

Android: AndroidAccountManager

UWP: UWPAccountManager