Example #1
0
        public async Task GetProfileDataAsync(ProfileDataRequestContext context)
        {
            var login = context.Subject.Identity.Name;

            if (await accountStore.IsExistsAsync(login))
            {
                var account = await accountStore.GetAsync(login);

                //context.IssuedClaims = new List<Claim>{new Claim("iden", account.Id.ToString())};
            }
        }