Example #1
0
        private async Task <IAccessToken> RunTestHelper(HttpClient mockClient)
        {
            IAuthServiceClient client = new AuthServiceClient(
                httpClient: mockClient,
                authEndpoint: new Uri(TEST_URI)
                );

            return(await client.ProvisionAccessTokenAsync(
                       assertion : string.Empty,
                       scopes : new Scope[] {}
                       ));
        }