Ejemplo n.º 1
0
        public async Task <string> GetDelegationTokenAsync()
        {
            string userId    = _userContext.UserId;
            string userToken = await _userContext.GetAccessTokenAsync();

            return(await _identityClient.GetDelegationTokenAsync(userId, userToken));
        }