private async Task <string> GetSystemUserTicket(SystemUserInfo systemUserInfo)
        {
            var sysUserClient = new SystemUserClient(systemUserInfo);

            var ticket = await sysUserClient.GetSystemUserTicketAsync();

            foreach (var claim in sysUserClient.ClaimsIdentity?.Claims)
            {
                System.Diagnostics.Debug.WriteLine(
                    $"type: {claim.Type}, value: {claim.Value}"
                    );
            }

            return(ticket);
        }
Ejemplo n.º 2
0
        private async Task <string> GetSystemUserTicket(SystemUserInfo systemUserInfo)
        {
            var sysUserClient = new SystemUserClient(systemUserInfo);

            return(await sysUserClient.GetSystemUserTicketAsync());
        }