protected override async Task AddUserTokenAsync(Model.IdentityUserToken <string> token) { var doc = await Context.Client.CreateDocumentAsync(Context.IdentityDocumentCollection.DocumentsLink, token , Context.RequestOptions, true); Context.SetSessionTokenIfEmpty(doc.SessionToken); token = JsonHelpers.CreateObject <Model.IdentityUserToken <string> >(doc); }