Beispiel #1
0
        public override ICollection <OAuthAccountData> GetAccountsForUser(string email)
        {
            Condition.Requires(email).IsNotNullOrEmpty();

            var oauths = _oauthService.GetAll(email, false);

            var accounts = new Collection <OAuthAccountData>();

            oauths.ForEach(oa => accounts.Add(new OAuthAccountData(oa.ProviderKey, oa.UserKey)));

            return(accounts);
        }