From 6713b9c506e5285f35cebd9290d726dcc2be7335 Mon Sep 17 00:00:00 2001 From: Martin Barnas Date: Wed, 27 Oct 2021 10:10:51 +0200 Subject: [PATCH] rename method ExchangeTeamsUserAadToken to GetTokenForTeamsUser (#24951) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * rename method ExchangeTeamsUserAadToken to GetTokenForTeamsUser * regenerated test recordings * regenerate api * Update sdk/communication/Azure.Communication.Identity/tests/samples/Sample1_CommunicationIdentityClient.cs Co-authored-by: Petr Švihlík * Update sdk/communication/Azure.Communication.Identity/tests/samples/Sample1_CommunicationIdentityClient.cs Co-authored-by: Petr Švihlík Co-authored-by: Petr Švihlík --- .../Azure.Communication.Identity/README.md | 4 +- ...e.Communication.Identity.netstandard2.0.cs | 4 +- .../Sample1_CommunicationIdentityClient.md | 4 +- ...ample1_CommunicationIdentityClientAsync.md | 4 +- .../src/CommunicationIdentityClient.cs | 8 +- .../CommunicationIdentityClientLiveTests.cs | 20 ++-- .../DeleteUserWithNullUserShouldThrow.json | 2 +- ...eleteUserWithNullUserShouldThrowAsync.json | 2 +- ...TokenWithInvalidTokenShouldThrowAsync.json | 46 --------- ...ForTeamsUserWithEmptyTokenShouldThrow.json | 49 ++++++++++ ...msUserWithEmptyTokenShouldThrowAsync.json} | 23 +++-- ...TeamsUserWithExpiredTokenShouldThrow.json} | 23 +++-- ...UserWithExpiredTokenShouldThrowAsync.json} | 23 +++-- ...TeamsUserWithInvalidTokenShouldThrow.json} | 23 +++-- ...UserWithInvalidTokenShouldThrowAsync.json} | 23 +++-- ...ForTeamsUserWithNullTokenShouldThrow.json} | 2 +- ...amsUserWithNullTokenShouldThrowAsync.json} | 2 +- .../GetTokenForTeamsUserWithValidToken.json} | 24 +++-- ...TokenForTeamsUserWithValidTokenAsync.json} | 27 +++--- .../GetTokenWithNullScopesShouldThrow.json | 25 ++--- ...etTokenWithNullScopesShouldThrowAsync.json | 25 ++--- .../GetTokenWithNullUserShouldThrow.json | 2 +- .../GetTokenWithNullUserShouldThrowAsync.json | 2 +- ...ithMultipleScopesWithConnectionString.json | 50 +++++----- ...ltipleScopesWithConnectionStringAsync.json | 50 +++++----- ...enWithMultipleScopesWithKeyCredential.json | 50 +++++----- ...hMultipleScopesWithKeyCredentialAsync.json | 50 +++++----- ...WithMultipleScopesWithTokenCredential.json | 46 +++++---- ...ultipleScopesWithTokenCredentialAsync.json | 46 +++++---- ...enWithSingleScopeWithConnectionString.json | 50 +++++----- ...hSingleScopeWithConnectionStringAsync.json | 50 +++++----- ...TokenWithSingleScopeWithKeyCredential.json | 52 +++++----- ...WithSingleScopeWithKeyCredentialAsync.json | 50 +++++----- ...kenWithSingleScopeWithTokenCredential.json | 46 +++++---- ...thSingleScopeWithTokenCredentialAsync.json | 48 ++++++---- .../RevokeTokenWithNullUserShouldThrow.json | 2 +- ...vokeTokenWithNullUserShouldThrowAsync.json | 2 +- .../CreateIdentityWithAccessKey.json | 25 ++--- .../CreateIdentityWithAccessKeyAsync.json | 25 ++--- .../CreateIdentityWithToken.json | 23 +++-- .../CreateIdentityWithTokenAsync.json | 23 +++-- .../CreateUserAndToken.json | 27 +++--- .../CreateUserAndTokenAsync.json | 27 +++--- .../GetTokenForTeamsUser.json} | 24 ++--- .../GetTokenForTeamsUserAsyncAsync.json} | 25 ++--- .../Troubleshooting.json | 25 ++--- .../TroubleshootingAsync.json | 25 ++--- .../UserAndTokenLifeCycle.json | 88 +++++++++-------- .../UserAndTokenLifeCycleAsyncAsync.json | 96 +++++++++++-------- .../Sample1_CommunicationIdentityClient.cs | 24 ++--- 50 files changed, 786 insertions(+), 630 deletions(-) delete mode 100644 sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithInvalidTokenShouldThrowAsync.json create mode 100644 sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithEmptyTokenShouldThrow.json rename sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/{ExchangeTeamsUserAadTokenWithEmptyTokenShouldThrow.json => GetTokenForTeamsUserWithEmptyTokenShouldThrowAsync.json} (60%) rename sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/{ExchangeTeamsUserAadTokenWithEmptyTokenShouldThrowAsync.json => GetTokenForTeamsUserWithExpiredTokenShouldThrow.json} (60%) rename sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/{ExchangeTeamsUserAadTokenWithExpiredTokenShouldThrowAsync.json => GetTokenForTeamsUserWithExpiredTokenShouldThrowAsync.json} (60%) rename sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/{ExchangeTeamsUserAadTokenWithInvalidTokenShouldThrow.json => GetTokenForTeamsUserWithInvalidTokenShouldThrow.json} (60%) rename sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/{ExchangeTeamsUserAadTokenWithExpiredTokenShouldThrow.json => GetTokenForTeamsUserWithInvalidTokenShouldThrowAsync.json} (60%) rename sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/{ExchangeTeamsUserAadTokenWithNullTokenShouldThrow.json => GetTokenForTeamsUserWithNullTokenShouldThrow.json} (84%) rename sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/{ExchangeTeamsUserAadTokenWithNullTokenShouldThrowAsync.json => GetTokenForTeamsUserWithNullTokenShouldThrowAsync.json} (84%) rename sdk/communication/Azure.Communication.Identity/tests/SessionRecords/{Sample1_CommunicationIdentityClient/ExchangeTeamsUserAadToken.json => CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithValidToken.json} (58%) rename sdk/communication/Azure.Communication.Identity/tests/SessionRecords/{Sample1_CommunicationIdentityClient/ExchangeTeamsUserAadTokenAsyncAsync.json => CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithValidTokenAsync.json} (56%) rename sdk/communication/Azure.Communication.Identity/tests/SessionRecords/{CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithValidToken.json => Sample1_CommunicationIdentityClient/GetTokenForTeamsUser.json} (59%) rename sdk/communication/Azure.Communication.Identity/tests/SessionRecords/{CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithValidTokenAsync.json => Sample1_CommunicationIdentityClient/GetTokenForTeamsUserAsyncAsync.json} (58%) diff --git a/sdk/communication/Azure.Communication.Identity/README.md b/sdk/communication/Azure.Communication.Identity/README.md index 0b5b1c92dfed..a4ef55b0dcc2 100644 --- a/sdk/communication/Azure.Communication.Identity/README.md +++ b/sdk/communication/Azure.Communication.Identity/README.md @@ -116,8 +116,8 @@ Response deleteResponse = client.DeleteUser(user); ### Exchanging AAD access token of a Teams User for a Communication Identity access token -```C# Snippet:ExchangeTeamsTokenAsync -Response tokenResponse = await client.ExchangeTeamsUserAadTokenAsync(teamsToken); +```C# Snippet:GetTokenForTeamsUserAsync +Response tokenResponse = await client.GetTokenForTeamsUserAsync(teamsToken); string token = tokenResponse.Value.Token; Console.WriteLine($"Token: {token}"); ``` diff --git a/sdk/communication/Azure.Communication.Identity/api/Azure.Communication.Identity.netstandard2.0.cs b/sdk/communication/Azure.Communication.Identity/api/Azure.Communication.Identity.netstandard2.0.cs index 9fae085c0a37..b8e9f7df9099 100644 --- a/sdk/communication/Azure.Communication.Identity/api/Azure.Communication.Identity.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.Identity/api/Azure.Communication.Identity.netstandard2.0.cs @@ -13,10 +13,10 @@ public CommunicationIdentityClient(System.Uri endpoint, Azure.Core.TokenCredenti public virtual System.Threading.Tasks.Task> CreateUserAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteUser(Azure.Communication.CommunicationUserIdentifier communicationUser, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteUserAsync(Azure.Communication.CommunicationUserIdentifier communicationUser, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ExchangeTeamsUserAadToken(string teamsUserAadToken, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ExchangeTeamsUserAadTokenAsync(string teamsUserAadToken, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetToken(Azure.Communication.CommunicationUserIdentifier communicationUser, System.Collections.Generic.IEnumerable scopes, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetTokenAsync(Azure.Communication.CommunicationUserIdentifier communicationUser, System.Collections.Generic.IEnumerable scopes, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetTokenForTeamsUser(string teamsUserAadToken, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetTokenForTeamsUserAsync(string teamsUserAadToken, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response RevokeTokens(Azure.Communication.CommunicationUserIdentifier communicationUser, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task RevokeTokensAsync(Azure.Communication.CommunicationUserIdentifier communicationUser, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } diff --git a/sdk/communication/Azure.Communication.Identity/samples/Sample1_CommunicationIdentityClient.md b/sdk/communication/Azure.Communication.Identity/samples/Sample1_CommunicationIdentityClient.md index ec91f1d9ae78..c601c064a0f8 100644 --- a/sdk/communication/Azure.Communication.Identity/samples/Sample1_CommunicationIdentityClient.md +++ b/sdk/communication/Azure.Communication.Identity/samples/Sample1_CommunicationIdentityClient.md @@ -67,8 +67,8 @@ Console.WriteLine($"Expires On: {expiresOn}"); The `CommunicationIdentityClient` can be used to exchange an AAD access token of a Teams user for a new Communication Identity access token with a matching expiration time. -```C# Snippet:ExchangeTeamsToken -Response tokenResponse = client.ExchangeTeamsUserAadToken(teamsToken); +```C# Snippet:GetTokenForTeamsUser +Response tokenResponse = client.GetTokenForTeamsUser(teamsToken); string token = tokenResponse.Value.Token; Console.WriteLine($"Token: {token}"); ``` diff --git a/sdk/communication/Azure.Communication.Identity/samples/Sample1_CommunicationIdentityClientAsync.md b/sdk/communication/Azure.Communication.Identity/samples/Sample1_CommunicationIdentityClientAsync.md index 5d1462a0e824..ed731c41d213 100644 --- a/sdk/communication/Azure.Communication.Identity/samples/Sample1_CommunicationIdentityClientAsync.md +++ b/sdk/communication/Azure.Communication.Identity/samples/Sample1_CommunicationIdentityClientAsync.md @@ -69,8 +69,8 @@ Console.WriteLine($"Expires On: {expiresOn}"); The `CommunicationIdentityClient` can be used to exchange an AAD access token of a Teams user for a new Communication Identity access token with a matching expiration time. -```C# Snippet:ExchangeTeamsTokenAsync -Response tokenResponse = await client.ExchangeTeamsUserAadTokenAsync(teamsToken); +```C# Snippet:GetTokenForTeamsUserAsync +Response tokenResponse = await client.GetTokenForTeamsUserAsync(teamsToken); string token = tokenResponse.Value.Token; Console.WriteLine($"Token: {token}"); ``` diff --git a/sdk/communication/Azure.Communication.Identity/src/CommunicationIdentityClient.cs b/sdk/communication/Azure.Communication.Identity/src/CommunicationIdentityClient.cs index 79aa0e97ddcb..6091271f63cf 100644 --- a/sdk/communication/Azure.Communication.Identity/src/CommunicationIdentityClient.cs +++ b/sdk/communication/Azure.Communication.Identity/src/CommunicationIdentityClient.cs @@ -285,9 +285,9 @@ public virtual async Task RevokeTokensAsync(CommunicationUserIdentifie /// AAD access token of a Teams User to acquire a new Communication Identity access token. /// The cancellation token to use. /// The server returned an error. - public virtual Response ExchangeTeamsUserAadToken(string teamsUserAadToken, CancellationToken cancellationToken = default) + public virtual Response GetTokenForTeamsUser(string teamsUserAadToken, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CommunicationIdentityClient)}.{nameof(ExchangeTeamsUserAadToken)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CommunicationIdentityClient)}.{nameof(GetTokenForTeamsUser)}"); scope.Start(); try { @@ -304,9 +304,9 @@ public virtual Response ExchangeTeamsUserAadToken(string teamsUserA /// Asynchronously exchange an AAD access token of a Teams User for a Communication Identity access token. /// AAD access token of a Teams User to acquire a new Communication Identity access token. /// The cancellation token to use. - public virtual async Task> ExchangeTeamsUserAadTokenAsync(String teamsUserAadToken, CancellationToken cancellationToken = default) + public virtual async Task> GetTokenForTeamsUserAsync(String teamsUserAadToken, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CommunicationIdentityClient)}.{nameof(ExchangeTeamsUserAadToken)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CommunicationIdentityClient)}.{nameof(GetTokenForTeamsUser)}"); scope.Start(); try { diff --git a/sdk/communication/Azure.Communication.Identity/tests/CommunicationIdentityClient/CommunicationIdentityClientLiveTests.cs b/sdk/communication/Azure.Communication.Identity/tests/CommunicationIdentityClient/CommunicationIdentityClientLiveTests.cs index a9562719a02e..66adf4f7c21f 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/CommunicationIdentityClient/CommunicationIdentityClientLiveTests.cs +++ b/sdk/communication/Azure.Communication.Identity/tests/CommunicationIdentityClient/CommunicationIdentityClientLiveTests.cs @@ -131,7 +131,7 @@ public async Task RevokeTokenWithNullUserShouldThrow() } [Test] - public async Task ExchangeTeamsUserAadTokenWithValidToken() + public async Task GetTokenForTeamsUserWithValidToken() { if (TestEnvironment.ShouldIgnoreIdentityExchangeTokenTest) { Assert.Ignore("Ignore exchange teams token test if flag is enabled."); @@ -140,18 +140,18 @@ public async Task ExchangeTeamsUserAadTokenWithValidToken() string token = await generateTeamsToken(); CommunicationIdentityClient client = CreateClientWithConnectionString(); - Response tokenResponse = await client.ExchangeTeamsUserAadTokenAsync(token); + Response tokenResponse = await client.GetTokenForTeamsUserAsync(token); Assert.IsNotNull(tokenResponse.Value); Assert.IsFalse(string.IsNullOrWhiteSpace(tokenResponse.Value.Token)); } [Test] - public async Task ExchangeTeamsUserAadTokenWithEmptyTokenShouldThrow() + public async Task GetTokenForTeamsUserWithEmptyTokenShouldThrow() { try { CommunicationIdentityClient client = CreateClientWithConnectionString(); - Response tokenResponse = await client.ExchangeTeamsUserAadTokenAsync(""); + Response tokenResponse = await client.GetTokenForTeamsUserAsync(""); } catch (RequestFailedException ex) { @@ -164,12 +164,12 @@ public async Task ExchangeTeamsUserAadTokenWithEmptyTokenShouldThrow() } [Test] - public async Task ExchangeTeamsUserAadTokenWithNullTokenShouldThrow() + public async Task GetTokenForTeamsUserWithNullTokenShouldThrow() { try { CommunicationIdentityClient client = CreateClientWithConnectionString(); - Response tokenResponse = await client.ExchangeTeamsUserAadTokenAsync(null); + Response tokenResponse = await client.GetTokenForTeamsUserAsync(null); } catch (ArgumentNullException ex) { @@ -180,12 +180,12 @@ public async Task ExchangeTeamsUserAadTokenWithNullTokenShouldThrow() } [Test] - public async Task ExchangeTeamsUserAadTokenWithInvalidTokenShouldThrow() + public async Task GetTokenForTeamsUserWithInvalidTokenShouldThrow() { try { CommunicationIdentityClient client = CreateClientWithConnectionString(); - Response tokenResponse = await client.ExchangeTeamsUserAadTokenAsync("invalid"); + Response tokenResponse = await client.GetTokenForTeamsUserAsync("invalid"); } catch (RequestFailedException ex) { @@ -198,12 +198,12 @@ public async Task ExchangeTeamsUserAadTokenWithInvalidTokenShouldThrow() } [Test] - public async Task ExchangeTeamsUserAadTokenWithExpiredTokenShouldThrow() + public async Task GetTokenForTeamsUserWithExpiredTokenShouldThrow() { try { CommunicationIdentityClient client = CreateClientWithConnectionString(); - Response tokenResponse = await client.ExchangeTeamsUserAadTokenAsync(TestEnvironment.CommunicationExpiredTeamsToken); + Response tokenResponse = await client.GetTokenForTeamsUserAsync(TestEnvironment.CommunicationExpiredTeamsToken); } catch (RequestFailedException ex) { diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/DeleteUserWithNullUserShouldThrow.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/DeleteUserWithNullUserShouldThrow.json index 6456141f7dee..40f846dc72e0 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/DeleteUserWithNullUserShouldThrow.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/DeleteUserWithNullUserShouldThrow.json @@ -2,6 +2,6 @@ "Entries": [], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1144119966" + "RandomSeed": "124499457" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/DeleteUserWithNullUserShouldThrowAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/DeleteUserWithNullUserShouldThrowAsync.json index 6bdfabc22975..59853577fedd 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/DeleteUserWithNullUserShouldThrowAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/DeleteUserWithNullUserShouldThrowAsync.json @@ -2,6 +2,6 @@ "Entries": [], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1985171423" + "RandomSeed": "1291370934" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithInvalidTokenShouldThrowAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithInvalidTokenShouldThrowAsync.json deleted file mode 100644 index 579e5c2e5124..000000000000 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithInvalidTokenShouldThrowAsync.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://sanitized.communication.azure.net/teamsUser/:exchangeAccessToken?api-version=2021-10-31-preview", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "21", - "Content-Type": "application/json", - "traceparent": "00-81f8184fabfae64fad3f785bcb02bbb3-54b4a603d359bb44-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "31f18311d09114ee6b00586ef56f7c30", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:30 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "token": "Sanitized" - }, - "StatusCode": 401, - "ResponseHeaders": { - "Content-Type": "application/json", - "Date": "Thu, 21 Oct 2021 12:24:30 GMT", - "MS-CV": "n4LrsjH1ZkiZe4STQZuFhQ.0", - "Request-Context": "appId=", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0/1txYQAAAADw784xdAYyQL2CuHylsKd7TElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", - "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "31f18311d09114ee6b00586ef56f7c30", - "X-Processing-Time": "21ms" - }, - "ResponseBody": { - "error": { - "code": "InvalidAccessToken", - "message": "Provided access token is not valid." - } - } - } - ], - "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1132677483" - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithEmptyTokenShouldThrow.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithEmptyTokenShouldThrow.json new file mode 100644 index 000000000000..63e8d89f5ff8 --- /dev/null +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithEmptyTokenShouldThrow.json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.net/teamsUser/:exchangeAccessToken?api-version=2021-10-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "21", + "Content-Type": "application/json", + "traceparent": "00-f526466c6cdad44b811ce473f8047de4-ced73d1e71386543-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "80931d20884158c33416d7d43514f193", + "x-ms-content-sha256": "Sanitized", + "x-ms-date": "Wed, 27 Oct 2021 05:20:51 GMT", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "token": "Sanitized" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json", + "Date": "Wed, 27 Oct 2021 05:20:50 GMT", + "MS-CV": "nJJ\u002Bgg/Es0SFHAXt7oEu/g.0", + "Request-Context": "appId=", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0s\u002BF4YQAAAAAuzzJBnw7wQYLEPRXJd6QZUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-client-request-id": "80931d20884158c33416d7d43514f193", + "X-Processing-Time": "19ms" + }, + "ResponseBody": { + "error": { + "code": "InvalidAccessToken", + "message": "Provided access token is not valid." + } + } + } + ], + "Variables": { + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", + "RandomSeed": "1529127325" + } +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithEmptyTokenShouldThrow.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithEmptyTokenShouldThrowAsync.json similarity index 60% rename from sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithEmptyTokenShouldThrow.json rename to sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithEmptyTokenShouldThrowAsync.json index 39c8da000df4..fabba079c34a 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithEmptyTokenShouldThrow.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithEmptyTokenShouldThrowAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-356cf194efc6654b8d763221985e60f4-3c8aa3e0515df049-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "afa3f08f4928480c24d822ae46caec26", + "traceparent": "00-9c208135fc5d6147abd4a74a0534f2f4-0c616ef649e9db4c-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "a288411c36d29b457716d54c83c6e027", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:23 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:57 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -21,15 +24,15 @@ "StatusCode": 401, "ResponseHeaders": { "Content-Type": "application/json", - "Date": "Thu, 21 Oct 2021 12:24:23 GMT", - "MS-CV": "bQiU5pb9TEmWOGnQhH6xOA.0", + "Date": "Wed, 27 Oct 2021 05:20:56 GMT", + "MS-CV": "AUgnEm6xw065oDTpbzVqwQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "091txYQAAAADBC4UJkbeHQYZx8NyGZAKYTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0ueF4YQAAAAC5r6q7PM1uQqUbFeEUPlWbUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "afa3f08f4928480c24d822ae46caec26", - "X-Processing-Time": "21ms" + "x-ms-client-request-id": "a288411c36d29b457716d54c83c6e027", + "X-Processing-Time": "22ms" }, "ResponseBody": { "error": { @@ -41,6 +44,6 @@ ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "186320284" + "RandomSeed": "2018109951" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithEmptyTokenShouldThrowAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithExpiredTokenShouldThrow.json similarity index 60% rename from sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithEmptyTokenShouldThrowAsync.json rename to sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithExpiredTokenShouldThrow.json index b67c07000645..0a22b248cc67 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithEmptyTokenShouldThrowAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithExpiredTokenShouldThrow.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-26dd75198d16bb47b8ac82641b94dd33-35bcfd2ba136c545-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "6295d84c0b8671ad715072cb792b55f8", + "traceparent": "00-b94573e92a0be747a84b350d88b5286a-f39de47891124c40-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "04f25d476a81b2d4ecff2037ad894bad", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:30 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:51 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -21,15 +24,15 @@ "StatusCode": 401, "ResponseHeaders": { "Content-Type": "application/json", - "Date": "Thu, 21 Oct 2021 12:24:30 GMT", - "MS-CV": "h/SUjnD9F0mLkKh5PNPZhw.0", + "Date": "Wed, 27 Oct 2021 05:20:51 GMT", + "MS-CV": "sTh4aaHpKU2K3ARGrCveBg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0/ltxYQAAAACItFK9e8Q5TqIhHfsi28\u002BATElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0s\u002BF4YQAAAAD26iR5lgjbQZGTLr8mO9bFUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "6295d84c0b8671ad715072cb792b55f8", - "X-Processing-Time": "24ms" + "x-ms-client-request-id": "04f25d476a81b2d4ecff2037ad894bad", + "X-Processing-Time": "30ms" }, "ResponseBody": { "error": { @@ -41,6 +44,6 @@ ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1985171423" + "RandomSeed": "1041680126" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithExpiredTokenShouldThrowAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithExpiredTokenShouldThrowAsync.json similarity index 60% rename from sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithExpiredTokenShouldThrowAsync.json rename to sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithExpiredTokenShouldThrowAsync.json index 69ed5b530287..2c547124a3b6 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithExpiredTokenShouldThrowAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithExpiredTokenShouldThrowAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-80de699974cfcd4f977e4d31e248103f-662008d567da6c48-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ca46ad2eec0c424e6e22659cb04de894", + "traceparent": "00-80fe992a659b46449889c66a698a7704-07306634e9d59a4a-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "38b03bfbad64e459a18b90286632438a", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:30 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:57 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -21,15 +24,15 @@ "StatusCode": 401, "ResponseHeaders": { "Content-Type": "application/json", - "Date": "Thu, 21 Oct 2021 12:24:30 GMT", - "MS-CV": "PKNCtRkM0EiZuNpmW0M0tg.0", + "Date": "Wed, 27 Oct 2021 05:20:57 GMT", + "MS-CV": "UJ\u002BLqg7bZE6o3H7i9WmlLg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0/ltxYQAAAAADKL5gB/HrR7bwy8bnzQ9nTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0ueF4YQAAAABIghjdS1PER4l2tV22OzE4UFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "ca46ad2eec0c424e6e22659cb04de894", - "X-Processing-Time": "31ms" + "x-ms-client-request-id": "38b03bfbad64e459a18b90286632438a", + "X-Processing-Time": "33ms" }, "ResponseBody": { "error": { @@ -41,6 +44,6 @@ ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1558924453" + "RandomSeed": "1263619897" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithInvalidTokenShouldThrow.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithInvalidTokenShouldThrow.json similarity index 60% rename from sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithInvalidTokenShouldThrow.json rename to sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithInvalidTokenShouldThrow.json index 749019824af1..251a9f71a6ce 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithInvalidTokenShouldThrow.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithInvalidTokenShouldThrow.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-26a9f563010dc14a81c2eff204e0e9f9-e7a7b4dc9cc9614c-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "b310614360db8d9bdc6495e373facda3", + "traceparent": "00-bda3d248721aff4eb66bfddfd29118a5-a6b9adce6d69b94e-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "ccbcdbf87c39d9c708fe65219039d013", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:24 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:51 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -21,15 +24,15 @@ "StatusCode": 401, "ResponseHeaders": { "Content-Type": "application/json", - "Date": "Thu, 21 Oct 2021 12:24:24 GMT", - "MS-CV": "hV5OtpP7oE6xv9KtaLq4ng.0", + "Date": "Wed, 27 Oct 2021 05:20:51 GMT", + "MS-CV": "yJUVirIp4Umj2gb3u3wqXQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0\u002BFtxYQAAAACizxCAfXAcR4I/JMDMtwgtTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0s\u002BF4YQAAAAARmKWt9rS2RpPzv1Os/lK6UFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "b310614360db8d9bdc6495e373facda3", - "X-Processing-Time": "21ms" + "x-ms-client-request-id": "ccbcdbf87c39d9c708fe65219039d013", + "X-Processing-Time": "19ms" }, "ResponseBody": { "error": { @@ -41,6 +44,6 @@ ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "755394592" + "RandomSeed": "978835897" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithExpiredTokenShouldThrow.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithInvalidTokenShouldThrowAsync.json similarity index 60% rename from sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithExpiredTokenShouldThrow.json rename to sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithInvalidTokenShouldThrowAsync.json index 5a8eba5e929c..dcfa634010bd 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithExpiredTokenShouldThrow.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithInvalidTokenShouldThrowAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-8226a3c603259f47ace0504bf7e51fbb-8b3ed31193c51240-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "4b598c617e55bbfadf94a3113ed83a07", + "traceparent": "00-0a067e5760d6ff4bb773553490af625b-9f4bf616fd425643-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "e68c91f51082049d6a25cc5f321c42ef", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:23 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:57 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -21,15 +24,15 @@ "StatusCode": 401, "ResponseHeaders": { "Content-Type": "application/json", - "Date": "Thu, 21 Oct 2021 12:24:23 GMT", - "MS-CV": "KSd0YmAz8EGY9SKSrOWMqw.0", + "Date": "Wed, 27 Oct 2021 05:20:57 GMT", + "MS-CV": "zHAytX0B6Ee0GR7neekY2w.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0\u002BFtxYQAAAABW4h56P\u002BGqT7T4AXlbjFV6TElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0ueF4YQAAAACCLAgjWhIiRI4pG3tqDMepUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "4b598c617e55bbfadf94a3113ed83a07", - "X-Processing-Time": "28ms" + "x-ms-client-request-id": "e68c91f51082049d6a25cc5f321c42ef", + "X-Processing-Time": "20ms" }, "ResponseBody": { "error": { @@ -41,6 +44,6 @@ ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1181641562" + "RandomSeed": "1628246212" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithNullTokenShouldThrow.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithNullTokenShouldThrow.json similarity index 84% rename from sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithNullTokenShouldThrow.json rename to sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithNullTokenShouldThrow.json index 30092a82b3da..da3633c82ccf 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithNullTokenShouldThrow.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithNullTokenShouldThrow.json @@ -2,6 +2,6 @@ "Entries": [], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "680519513" + "RandomSeed": "1027528296" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithNullTokenShouldThrowAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithNullTokenShouldThrowAsync.json similarity index 84% rename from sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithNullTokenShouldThrowAsync.json rename to sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithNullTokenShouldThrowAsync.json index 69fb4a4434bc..1294cbea8534 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithNullTokenShouldThrowAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithNullTokenShouldThrowAsync.json @@ -2,6 +2,6 @@ "Entries": [], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1057802404" + "RandomSeed": "1502967614" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/ExchangeTeamsUserAadToken.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithValidToken.json similarity index 58% rename from sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/ExchangeTeamsUserAadToken.json rename to sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithValidToken.json index af5e4e5d4f6f..17319a58a6fe 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/ExchangeTeamsUserAadToken.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithValidToken.json @@ -8,10 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "859e107444ad1ca88eabe5ee810f3e89", + "traceparent": "00-e5ee0ef903bf684f9dd9d43a27e81971-dc5da59993f5d748-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "3bb9ae09110b5700cf853b4b3d226f6e", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:16 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:51 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -22,23 +26,23 @@ "api-supported-versions": "2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "68", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:17 GMT", - "MS-CV": "TqQcWKG/k06I7LzCSlzgww.0", + "Date": "Wed, 27 Oct 2021 05:20:52 GMT", + "MS-CV": "lsXC6grEL0OZP5VP9LbJLw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "08FtxYQAAAABswLj\u002BX2SCQLKoOVYR\u002BgJyTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0tOF4YQAAAACtsfMTmuMXRYqP3GHCdpdWUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "859e107444ad1ca88eabe5ee810f3e89", - "X-Processing-Time": "405ms" + "x-ms-client-request-id": "3bb9ae09110b5700cf853b4b3d226f6e", + "X-Processing-Time": "459ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-21T13:24:15.319787\u002B00:00" + "expiresOn": "2021-10-27T06:20:51.792367\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "347681038" + "RandomSeed": "332065594" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/ExchangeTeamsUserAadTokenAsyncAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithValidTokenAsync.json similarity index 56% rename from sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/ExchangeTeamsUserAadTokenAsyncAsync.json rename to sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithValidTokenAsync.json index 9b9cfc4e1fe3..a5f13297308d 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/ExchangeTeamsUserAadTokenAsyncAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenForTeamsUserWithValidTokenAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-5b717e427969bb4ca348bc5fa0fbb1f1-9490516fbedd3442-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "9e072dbfe25c37cf467955dc570d6833", + "traceparent": "00-e5dab10c60ba0c40a978bf0d626189a8-74f0ccafb247d643-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "3f2235420294a4002022a658e757edda", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:20 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:57 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -21,25 +24,25 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-31-preview1, 2021-10-31-preview", - "Content-Length": "69", + "Content-Length": "67", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:21 GMT", - "MS-CV": "VynHcVXA5kOgjcA6F4hMVA.0", + "Date": "Wed, 27 Oct 2021 05:20:58 GMT", + "MS-CV": "6uo30x6qo0qeuDwNtzdj6g.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "09FtxYQAAAAD867PqcYP0RbS9gPyWlujZTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0uuF4YQAAAABbg8Ch9vrPSow7FmfuDu\u002BpUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "9e072dbfe25c37cf467955dc570d6833", - "X-Processing-Time": "717ms" + "x-ms-client-request-id": "3f2235420294a4002022a658e757edda", + "X-Processing-Time": "538ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-21T13:24:19.6192402\u002B00:00" + "expiresOn": "2021-10-27T06:20:57.96311\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "57506699" + "RandomSeed": "1238647755" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullScopesShouldThrow.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullScopesShouldThrow.json index 00af21f4b47a..594c128b8ada 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullScopesShouldThrow.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullScopesShouldThrow.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-95c4478aca80cf498069e3ead810175b-da49cbf327361949-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "32f6b51cdbda9a47fe8623a2eb95b825", + "traceparent": "00-42d1b03e4ccc744fb4ed7616b9c88a94-888dcfd67674a04c-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "e479119861e577f17d452ab2a85fad30", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:25 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:52 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,24 +24,24 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:25 GMT", - "MS-CV": "DekI6wpIM0G3AoApR5UcyQ.0", + "Date": "Wed, 27 Oct 2021 05:20:52 GMT", + "MS-CV": "zfeYr06/AEiJ/st4JqiKNQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0\u002BVtxYQAAAAA0ngJ1v3blRpYk15SI/MYsTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0tOF4YQAAAAA2MS5mqbxNSqgb8gAw0f59UFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "32f6b51cdbda9a47fe8623a2eb95b825", - "X-Processing-Time": "98ms" + "x-ms-client-request-id": "e479119861e577f17d452ab2a85fad30", + "X-Processing-Time": "97ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-eace-e1fe-0848220043c6" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-4f1e-83fe-08482200338a" } } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "523678422" + "RandomSeed": "535619977" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullScopesShouldThrowAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullScopesShouldThrowAsync.json index cd0aec02dd1f..88c405f9efd1 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullScopesShouldThrowAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullScopesShouldThrowAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-32668e83b50e42429585ee378d44291b-eba22cf13e97384d-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "a0c2be8b5be28c4bb1535567bc49d266", + "traceparent": "00-e744ac854bc191409522e9bdd6c04ecb-b8b4de6ad9df6146-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "ec3f36dca81d6eddaadda1a220c9c50c", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:32 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:58 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,24 +24,24 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:32 GMT", - "MS-CV": "JJ1pcmVmJ0WmEmIykBqzyQ.0", + "Date": "Wed, 27 Oct 2021 05:20:58 GMT", + "MS-CV": "zbjVnBqNZE6CGNZ3YHMk\u002Bg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0AFxxYQAAAACAt0P3yaUIS7wWt9Y778fiTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0u\u002BF4YQAAAADzNty8z4P5SLaY2j1xRrh0UFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "a0c2be8b5be28c4bb1535567bc49d266", - "X-Processing-Time": "94ms" + "x-ms-client-request-id": "ec3f36dca81d6eddaadda1a220c9c50c", + "X-Processing-Time": "90ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-057a-e1fe-0848220043d4" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-6730-84f5-08482200364e" } } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "781473705" + "RandomSeed": "1205682578" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullUserShouldThrow.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullUserShouldThrow.json index f42beb65acb5..3f667a956cb4 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullUserShouldThrow.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullUserShouldThrow.json @@ -2,6 +2,6 @@ "Entries": [], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1706271454" + "RandomSeed": "1450673335" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullUserShouldThrowAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullUserShouldThrowAsync.json index c9a85c9c6a8f..b395469652ff 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullUserShouldThrowAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GetTokenWithNullUserShouldThrowAsync.json @@ -2,6 +2,6 @@ "Entries": [], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1964066737" + "RandomSeed": "629033439" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithConnectionString.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithConnectionString.json index b51341ef1227..af3773dafe82 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithConnectionString.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithConnectionString.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-cfad1e9662e2524ab1bf412a273abc02-953774f9038de04d-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5407cf35f6a33203cd7defda6fe8cf95", + "traceparent": "00-d2de1368b2892441b107ad7564686885-942ba01c0045ab42-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "be4dedfacf0c5f6086f50c58af16ce7a", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:28 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:54 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,34 +24,37 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:28 GMT", - "MS-CV": "iG0pa0hMqkOJVaNKyCwjhw.0", + "Date": "Wed, 27 Oct 2021 05:20:54 GMT", + "MS-CV": "1us9JVlpvEeQL\u002B86Isr3QA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0/FtxYQAAAACyy1\u002BBJ\u002BwBQKQ33FIpAjGbTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0tuF4YQAAAAD8C3lBc6JuSYlmiIsOZNCSUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "5407cf35f6a33203cd7defda6fe8cf95", - "X-Processing-Time": "154ms" + "x-ms-client-request-id": "be4dedfacf0c5f6086f50c58af16ce7a", + "X-Processing-Time": "93ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-f671-e1fe-0848220043cb" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-570f-83fe-08482200338e" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-f671-e1fe-0848220043cb/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-570f-83fe-08482200338e/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "26", "Content-Type": "application/json", - "traceparent": "00-0ba32031ab45c944af3d4c89a47f242a-11f929b598335642-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "a10c9a0b834d2e847177383d00e940be", + "traceparent": "00-5aea175a19f8564991c9d04dc6b2a566-114100443a85ef49-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "5d18edf48318b0d34b02d3f888174199", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:28 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:54 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -62,23 +68,23 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:28 GMT", - "MS-CV": "VfgLVnUGWUyEFht3QiZ03A.0", + "Date": "Wed, 27 Oct 2021 05:20:54 GMT", + "MS-CV": "Mbp2NFM0FEK\u002B3IR01kg8ZQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0/FtxYQAAAADGovH/svkYTbR90bGy3DBhTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0t\u002BF4YQAAAABuI7sLVFtfSoOp9qXGnaCyUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "a10c9a0b834d2e847177383d00e940be", - "X-Processing-Time": "101ms" + "x-ms-client-request-id": "5d18edf48318b0d34b02d3f888174199", + "X-Processing-Time": "110ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:28.9502222\u002B00:00" + "expiresOn": "2021-10-28T05:20:55.4204177\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1303532327" + "RandomSeed": "230503683" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithConnectionStringAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithConnectionStringAsync.json index 08d6bd81001c..882d96750158 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithConnectionStringAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithConnectionStringAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-1b73e5eebb40ee4c946d09ca9de181e5-6531ffd9badfef46-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "e150147fc3f0eb78a8e6ab3831962f51", + "traceparent": "00-bb6d176af711294ea263e1276d31ca1e-ee7b9443c6c4bd49-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "d291490000361df8edbf302d477b0da2", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:34 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:21:00 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,34 +24,37 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:34 GMT", - "MS-CV": "gp/Ec5Hc70aQpH32EgJiTA.0", + "Date": "Wed, 27 Oct 2021 05:21:00 GMT", + "MS-CV": "ge6wQa4qV0O\u002B237pJZWIzg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0AlxxYQAAAADRmCM0j3LvToRE5g/mZfeiTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0veF4YQAAAABnqChIidXSTIEKPtKDpyQYUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "e150147fc3f0eb78a8e6ab3831962f51", - "X-Processing-Time": "97ms" + "x-ms-client-request-id": "d291490000361df8edbf302d477b0da2", + "X-Processing-Time": "104ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-0f2e-e1fe-0848220043d8" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-6fb4-84f5-084822003654" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-0f2e-e1fe-0848220043d8/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-6fb4-84f5-084822003654/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "26", "Content-Type": "application/json", - "traceparent": "00-a69f52ab681e584ead3218c67f54c184-0f5ef2fa52a77c4e-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "59f6594cfd89ee81b9b0879b8f1164fb", + "traceparent": "00-34bc1e79087e7d46a3241c532ebc02ad-7c2ddae7fdc3464e-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "0c0161f08ddc220a1906fa802c7b3dd4", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:34 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:21:01 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -62,23 +68,23 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:34 GMT", - "MS-CV": "q5q8kSpETkaQNm/QbVrwXQ.0", + "Date": "Wed, 27 Oct 2021 05:21:01 GMT", + "MS-CV": "lobv1kOr7U\u002BwxWXehae1Og.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0A1xxYQAAAADebHwgMvgKQYWpuQl8unyNTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0veF4YQAAAAC2ZCp\u002BZWSDRL9WnZmlkW1zUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "59f6594cfd89ee81b9b0879b8f1164fb", - "X-Processing-Time": "105ms" + "x-ms-client-request-id": "0c0161f08ddc220a1906fa802c7b3dd4", + "X-Processing-Time": "104ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:35.2923793\u002B00:00" + "expiresOn": "2021-10-28T05:21:01.7720961\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "146850295" + "RandomSeed": "1928688269" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithKeyCredential.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithKeyCredential.json index 30c4c5dde089..b09c639eac1d 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithKeyCredential.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithKeyCredential.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-b732dc83b98c8b4a8c5b152c3271043e-dfc68238bb35564f-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "9e881e3752adad301ec3816710c4ffa2", + "traceparent": "00-7fb068a97131bc4f8008fc4ac6d74efa-8ff0b6b53dd0b344-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "6ff2d9731be682fd5807cd0e27680c61", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:29 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:55 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,34 +24,37 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:28 GMT", - "MS-CV": "dShjsdFmnEyeynBxL0QSVg.0", + "Date": "Wed, 27 Oct 2021 05:20:54 GMT", + "MS-CV": "0Pu1/DnlEUCVkyE8G\u002BeA\u002Bg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0/VtxYQAAAABCSKsoCDGQT6PLmhE4TG1RTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0t\u002BF4YQAAAACB0pW8s4uxS4usJ9YMHBCUUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "9e881e3752adad301ec3816710c4ffa2", - "X-Processing-Time": "96ms" + "x-ms-client-request-id": "6ff2d9731be682fd5807cd0e27680c61", + "X-Processing-Time": "91ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-f91f-e1fe-0848220043d2" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-5945-83fe-08482200338f" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-f91f-e1fe-0848220043d2/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-5945-83fe-08482200338f/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "26", "Content-Type": "application/json", - "traceparent": "00-db2718b66ae50a44afb5ef8476d95118-dac0408d0ffa194a-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "09b3cc8db8706b0e99bb6ed62f54dd32", + "traceparent": "00-aa6e92628ce6a343b511000c045a635c-7719d0ceb53cc94f-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "57c607f6dc8aef245144dffd7625ff9d", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:29 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:55 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -62,23 +68,23 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:29 GMT", - "MS-CV": "/HB2V6Sq7UuymO\u002BxGTVwPw.0", + "Date": "Wed, 27 Oct 2021 05:20:55 GMT", + "MS-CV": "SDqP\u002BVvWu0irq\u002B2tb6bfSA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0/VtxYQAAAABe2QI7iq7dRLsZufEvA8tvTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0t\u002BF4YQAAAAA2eX39bb5wSaAY/uDMdR1BUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "09b3cc8db8706b0e99bb6ed62f54dd32", - "X-Processing-Time": "106ms" + "x-ms-client-request-id": "57c607f6dc8aef245144dffd7625ff9d", + "X-Processing-Time": "103ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:29.6380067\u002B00:00" + "expiresOn": "2021-10-28T05:20:55.9788851\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1266178844" + "RandomSeed": "1402969334" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithKeyCredentialAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithKeyCredentialAsync.json index 15bd806aa12f..2386c9272df6 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithKeyCredentialAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithKeyCredentialAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-e0fbb22136ecd34c899d075d752a688d-936ff10f88045e41-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "e5bd8533dca33007607c1f6c6bc511ce", + "traceparent": "00-98cc6068d769fe47a0fae53c9c6ec295-f768d5117984254c-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "4b2859f3289c252bee8f23cddb2cc926", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:35 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:21:01 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,34 +24,37 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:35 GMT", - "MS-CV": "mYTHADlcQ0a3qKIZFi1cGA.0", + "Date": "Wed, 27 Oct 2021 05:21:01 GMT", + "MS-CV": "UodvFSEgsk\u002BPnGmsUjQq2Q.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0A1xxYQAAAACQjwyFSw6PSbhE\u002B2W7niPLTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0veF4YQAAAADj9DekOOlRS5wLYw\u002BJMevlUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "e5bd8533dca33007607c1f6c6bc511ce", - "X-Processing-Time": "98ms" + "x-ms-client-request-id": "4b2859f3289c252bee8f23cddb2cc926", + "X-Processing-Time": "92ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-11e7-e1fe-0848220043d9" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-721b-84f5-084822003655" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-11e7-e1fe-0848220043d9/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-721b-84f5-084822003655/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "26", "Content-Type": "application/json", - "traceparent": "00-776e6478ccd3384198a474e5f574a602-d7ce5e3e68700542-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "726cf153e01328babb32039a7779b00f", + "traceparent": "00-5ca2d12320bbfa4db781d5e8ed6fe025-d517070da2f10f4d-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "60f3d277e442926486b972df7fda238d", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:35 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:21:01 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -62,23 +68,23 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:35 GMT", - "MS-CV": "R4kfT6XKi0\u002BPZz99Q6b7Yw.0", + "Date": "Wed, 27 Oct 2021 05:21:01 GMT", + "MS-CV": "ovGwQx1jq0KsKD3KFluvOA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0A1xxYQAAAABCQvgc52fFTpcBZu85vwWwTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0vuF4YQAAAAB13hPKoVfpRo0bTY8ePUrBUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "726cf153e01328babb32039a7779b00f", - "X-Processing-Time": "116ms" + "x-ms-client-request-id": "60f3d277e442926486b972df7fda238d", + "X-Processing-Time": "100ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:36.0157862\u002B00:00" + "expiresOn": "2021-10-28T05:21:02.3602439\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "715924603" + "RandomSeed": "659403022" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithTokenCredential.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithTokenCredential.json index 690bff693443..3e9915e0f090 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithTokenCredential.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithTokenCredential.json @@ -8,9 +8,12 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-d8d12a36f17796428ad987c1e9865cfc-581a6be92b8c6346-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "7f652044c9b4d6f009fe656f129db957", + "traceparent": "00-14f6c4c2d47f7f4dab6e97ebbeda45c2-2bc57fcc8aac6546-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "c3a0a75bc08467d82366efa3ff102fef", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -19,32 +22,35 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:29 GMT", - "MS-CV": "QDN5Vsbak0G5EaMpY2FxmA.0", + "Date": "Wed, 27 Oct 2021 05:20:55 GMT", + "MS-CV": "X4ZxyJ1TPU6yY\u002BYSkPcnDg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0/VtxYQAAAABaST5vagiqTrz78PtBQtCtTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0uOF4YQAAAABCS32usAtVS75eFIuYN7iRUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "7f652044c9b4d6f009fe656f129db957", - "X-Processing-Time": "91ms" + "x-ms-client-request-id": "c3a0a75bc08467d82366efa3ff102fef", + "X-Processing-Time": "90ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-fbcb-e1fe-0848220043d3" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-5b77-83fe-084822003390" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-fbcb-e1fe-0848220043d3/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-5b77-83fe-084822003390/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "26", "Content-Type": "application/json", - "traceparent": "00-ac3435c47cd318418b3f7ef354b802ac-95970c1f3ec91943-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "fa8f9758732d299f875d1608f33b0015", + "traceparent": "00-e582268020dbf248b707fd95e5b6de29-860b0114e4895c4d-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "05d3ea3b644dc64cb45488c8a7f6b250", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -58,23 +64,23 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:30 GMT", - "MS-CV": "F9/rK7\u002B4LE\u002B6jlnxmuS\u002B8A.0", + "Date": "Wed, 27 Oct 2021 05:20:56 GMT", + "MS-CV": "B\u002B4W6XuWZ02ICIP9TCOkNg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0/ltxYQAAAADXEKRbeWzcQIkv0F56m2HoTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0uOF4YQAAAADcZp8QYCSnQpIv/PMRd/sNUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "fa8f9758732d299f875d1608f33b0015", - "X-Processing-Time": "99ms" + "x-ms-client-request-id": "05d3ea3b644dc64cb45488c8a7f6b250", + "X-Processing-Time": "374ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:30.3176934\u002B00:00" + "expiresOn": "2021-10-28T05:20:57.3606983\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1064725224" + "RandomSeed": "219826892" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithTokenCredentialAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithTokenCredentialAsync.json index 66399989d1e7..fb329bd4ea4a 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithTokenCredentialAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithMultipleScopesWithTokenCredentialAsync.json @@ -8,9 +8,12 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-12cebc249050134f84180f9444a754ad-1e946608c84c144a-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "303ed4353badab34b1ccb0f818a240dc", + "traceparent": "00-64da46b474a0564b8a61e82ae3f66690-9e9a3882724a8142-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "19ddd66389cee07760faa9555a4ebfc7", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -19,32 +22,35 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:36 GMT", - "MS-CV": "JAs6iDRonUCSE/yDEvZHxw.0", + "Date": "Wed, 27 Oct 2021 05:21:01 GMT", + "MS-CV": "kxLEfhvZBECIupiAGcQOOQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0BFxxYQAAAADri4UgXXHIRZm\u002BOgJUA2jNTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0vuF4YQAAAABGIM4tell\u002BQZQBeaVLHiTtUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "303ed4353badab34b1ccb0f818a240dc", - "X-Processing-Time": "90ms" + "x-ms-client-request-id": "19ddd66389cee07760faa9555a4ebfc7", + "X-Processing-Time": "87ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-14c4-e1fe-0848220043da" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-746f-84f5-084822003656" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-14c4-e1fe-0848220043da/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-746f-84f5-084822003656/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "26", "Content-Type": "application/json", - "traceparent": "00-3f01d048dfd1bc49979d4d86cc2a0ef6-cb01293c3676f744-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ee1322e016356845e3763f33a5e24c83", + "traceparent": "00-e42ce2b8c06984488f1b98a689cbc841-7106082d0e6e6c48-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "ee96c34259ba7a00ca517cf8d36f8f1c", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -58,23 +64,23 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:36 GMT", - "MS-CV": "g4zw9cQkPEKY\u002B3CIPPdOrA.0", + "Date": "Wed, 27 Oct 2021 05:21:02 GMT", + "MS-CV": "Nj8k4nuFIUy2L0N1hijXkA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0BFxxYQAAAABjMWBGX8lbQonvJF/WAEgbTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0vuF4YQAAAAB/7fTL/aQkQJ3tqbpjldYkUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "ee1322e016356845e3763f33a5e24c83", - "X-Processing-Time": "99ms" + "x-ms-client-request-id": "ee96c34259ba7a00ca517cf8d36f8f1c", + "X-Processing-Time": "93ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:36.7245859\u002B00:00" + "expiresOn": "2021-10-28T05:21:02.9167935\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "678571120" + "RandomSeed": "422919927" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithConnectionString.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithConnectionString.json index 19a498485ae5..3f792d9bb873 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithConnectionString.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithConnectionString.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-3af83f7d85dad74b81357bc9bdf7572c-d5b70d35030c7446-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "888c72a0cdb1d6981f8b85ad73f6b775", + "traceparent": "00-bd03d1996af5804b9a79801f07f619be-eadee6f6589ce046-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "835faf8d4a638126f736f4edd3f37b5e", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:25 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:52 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,34 +24,37 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:25 GMT", - "MS-CV": "etUc2LTmVUGcDN6XCcLWig.0", + "Date": "Wed, 27 Oct 2021 05:20:52 GMT", + "MS-CV": "otazihC0v0ukcNJ\u002BPoOQEA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0\u002BVtxYQAAAAA/akNLhyNmTKuZcMGS/OQ1TElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0teF4YQAAAADiGAH9sWlLQJ3vFe8z9vfAUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "888c72a0cdb1d6981f8b85ad73f6b775", - "X-Processing-Time": "97ms" + "x-ms-client-request-id": "835faf8d4a638126f736f4edd3f37b5e", + "X-Processing-Time": "91ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-ec47-e1fe-0848220043c7" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-503d-83fe-08482200338b" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-ec47-e1fe-0848220043c7/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-503d-83fe-08482200338b/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "traceparent": "00-0d14bf9d581a194993694f06bc0a99e6-0d6838e5cb9faa45-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "c6d88bba507258b57bf1acca5ed04d6b", + "traceparent": "00-0779992e823a214c9a9be79ca9e8df7e-c7eb4de1e113d246-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "1c380ccf62f17fdbb2c6d3ec404dcda3", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:26 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:53 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -61,23 +67,23 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:26 GMT", - "MS-CV": "kn45D97QjkWUdMJXU8I04A.0", + "Date": "Wed, 27 Oct 2021 05:20:52 GMT", + "MS-CV": "i/\u002BezVp0\u002B0aDW4CF3cmvfg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0\u002BltxYQAAAACT5srRwD2eQJQipud1WwFxTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0teF4YQAAAADOe/Xy3mL5Q6NJjoT0uetQUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "c6d88bba507258b57bf1acca5ed04d6b", - "X-Processing-Time": "108ms" + "x-ms-client-request-id": "1c380ccf62f17fdbb2c6d3ec404dcda3", + "X-Processing-Time": "99ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:26.3626462\u002B00:00" + "expiresOn": "2021-10-28T05:20:53.6952912\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "2125427491" + "RandomSeed": "746359209" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithConnectionStringAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithConnectionStringAsync.json index 630da9192d51..56581eecebaf 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithConnectionStringAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithConnectionStringAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-b0d62493ce60304d882ec74b93247414-3542a6712edfec4e-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "d51bc26276d71eca811f519a7e088cdb", + "traceparent": "00-a99bc7d06166604bad88e37ab049cc64-e74ff0fd301f0e45-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "19f27d58ec225acdffb97c669bd9fb4e", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:32 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:58 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,34 +24,37 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:32 GMT", - "MS-CV": "tuk44enz30GGfHzfY\u002BN6Gw.0", + "Date": "Wed, 27 Oct 2021 05:20:58 GMT", + "MS-CV": "WcKizHEBd0mXxb8dJqw8aQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0AFxxYQAAAABNzw8Dilk6R7vk0Auizt5FTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0u\u002BF4YQAAAAAMyxEoy6SHQoI\u002B\u002BSZJrqqEUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "d51bc26276d71eca811f519a7e088cdb", - "X-Processing-Time": "98ms" + "x-ms-client-request-id": "19f27d58ec225acdffb97c669bd9fb4e", + "X-Processing-Time": "97ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-06ec-e1fe-0848220043d5" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-6846-84f5-08482200364f" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-06ec-e1fe-0848220043d5/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-6846-84f5-08482200364f/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "traceparent": "00-46b0cec863fc5b47af8aebfecaf7fbc2-11ae4327a80ade4b-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "f196911f53ec2cd5b428f09ed8da80c2", + "traceparent": "00-02b3baeb4a734a40a83cc43c49105b68-1d03c48470296047-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "0ac8f50d06310950f2748dce28537cc7", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:32 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:59 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -61,23 +67,23 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:32 GMT", - "MS-CV": "xHrVjXz0zE\u002BRgaKPVFTYsg.0", + "Date": "Wed, 27 Oct 2021 05:20:59 GMT", + "MS-CV": "4wB16GIqCUGXBux\u002BxH9Hdw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0AFxxYQAAAAD7q2YyhSdbQo2njZyQIV6mTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0u\u002BF4YQAAAAA7W7ukEYapRKqqOd1HcTMrUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "f196911f53ec2cd5b428f09ed8da80c2", - "X-Processing-Time": "116ms" + "x-ms-client-request-id": "0ac8f50d06310950f2748dce28537cc7", + "X-Processing-Time": "99ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:33.1980178\u002B00:00" + "expiresOn": "2021-10-28T05:20:59.8183463\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "587111018" + "RandomSeed": "2015013272" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithKeyCredential.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithKeyCredential.json index a9783cc52916..651b314c263e 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithKeyCredential.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithKeyCredential.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-12310cbb53697246a9a0e17284f38578-e198b27aefad3a47-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "172e27de6c950896a05c7bdf2c9d5257", + "traceparent": "00-7e834ec01d276149ba6cf6fbbca4514a-06f1e1a5a3d3b543-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "6a9b8cabe089a830952751065b3bcdb9", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:26 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:53 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,34 +24,37 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:26 GMT", - "MS-CV": "xfygUVLJJUOq3JT\u002B9vDllA.0", + "Date": "Wed, 27 Oct 2021 05:20:53 GMT", + "MS-CV": "tfDOl0MKGEuBQ\u002BxRvzp0GQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0\u002BltxYQAAAAA1r3Gt3JnoQJ6\u002BTYZtaAl/TElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0teF4YQAAAABOcBECDRW3TIVg\u002BzpMxJWAUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "172e27de6c950896a05c7bdf2c9d5257", - "X-Processing-Time": "102ms" + "x-ms-client-request-id": "6a9b8cabe089a830952751065b3bcdb9", + "X-Processing-Time": "98ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-f03a-e1fe-0848220043c8" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-52a6-83fe-08482200338c" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-f03a-e1fe-0848220043c8/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-52a6-83fe-08482200338c/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "traceparent": "00-c07254ab4e8e984995178722d02fbb44-14862bf49c80c34e-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "181f0d4ae1e0c955b3b987ed89bb25d9", + "traceparent": "00-8c8971179fc7bb4ba6c5e0539fbdb768-d20958e79130e14a-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "4d79355dc6a50140caf9ea4c74249b47", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:27 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:53 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -59,25 +65,25 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", - "Content-Length": "69", + "Content-Length": "68", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:27 GMT", - "MS-CV": "DOvyrSfMYk2R4\u002Bqw7G2irw.0", + "Date": "Wed, 27 Oct 2021 05:20:53 GMT", + "MS-CV": "fey/kfsZQkK\u002B/2lwgTXECw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0\u002B1txYQAAAABox50lCwPsTIcmcIntYq4STElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0tuF4YQAAAAAb8Q178cXJQ7RT51upxWISUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "181f0d4ae1e0c955b3b987ed89bb25d9", - "X-Processing-Time": "103ms" + "x-ms-client-request-id": "4d79355dc6a50140caf9ea4c74249b47", + "X-Processing-Time": "100ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:27.3606781\u002B00:00" + "expiresOn": "2021-10-28T05:20:54.283515\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "891299110" + "RandomSeed": "1819729498" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithKeyCredentialAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithKeyCredentialAsync.json index 7e82bb19437a..5b8036271ebc 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithKeyCredentialAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithKeyCredentialAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-32db023a0ea6184c813f8e220451d74f-baecf14295a8d048-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "fc18a2bd30367e28060654fae48e9520", + "traceparent": "00-4deac65d78082e479ed059c38e1afc52-1b0c132f66847444-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "118a0daea54a91618aea9d7ada7098ea", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:33 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:59 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,34 +24,37 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:33 GMT", - "MS-CV": "IStmA4wvn0ytlRrBFWtBqw.0", + "Date": "Wed, 27 Oct 2021 05:20:59 GMT", + "MS-CV": "4SIpB2iM7UeTxjBsYobf3Q.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0AVxxYQAAAAA3YVtjfCBbRYW7QVes2KL/TElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0u\u002BF4YQAAAACHqykDoANLTaErPsEze6YmUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "fc18a2bd30367e28060654fae48e9520", - "X-Processing-Time": "99ms" + "x-ms-client-request-id": "118a0daea54a91618aea9d7ada7098ea", + "X-Processing-Time": "93ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-09bf-e1fe-0848220043d6" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-6a7b-84f5-084822003650" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-09bf-e1fe-0848220043d6/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-6a7b-84f5-084822003650/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "traceparent": "00-dffefeddf4f2b1409cc3021844fb7efb-3660cd0f16371644-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "1ea4f5555f42e1b7c98b396ae3c4f506", + "traceparent": "00-1a46257f9d5b69438a2abc368dcb853e-3f83da8418b20d46-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "ee01e2ede76267884539a61cc2a73b0f", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:33 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:59 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -61,23 +67,23 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:33 GMT", - "MS-CV": "mDPYtMkkhEeZ/fGZoBXbzw.0", + "Date": "Wed, 27 Oct 2021 05:20:59 GMT", + "MS-CV": "\u002Bd\u002B3KNd0Z0ur/5FJInvmuA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0AVxxYQAAAADYR5zHA18QQKdlvp7uNbJATElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0vOF4YQAAAADZPemVV0djT4TRoa\u002BcjWaDUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "1ea4f5555f42e1b7c98b396ae3c4f506", - "X-Processing-Time": "100ms" + "x-ms-client-request-id": "ee01e2ede76267884539a61cc2a73b0f", + "X-Processing-Time": "99ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:33.8912452\u002B00:00" + "expiresOn": "2021-10-28T05:21:00.4129432\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1926713254" + "RandomSeed": "270920123" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithTokenCredential.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithTokenCredential.json index ff1b5711840f..3726e4adc427 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithTokenCredential.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithTokenCredential.json @@ -8,9 +8,12 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-82600f97f944854aadd663c2daacb405-7360a5be048b5b48-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "1dee4f8c5012be22d5091766cb8216c0", + "traceparent": "00-74408e477de493428c12a47942cbdf19-d09794f7dface542-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "fa6ab14fb0023eb29bc4cae1807a6d3b", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -19,32 +22,35 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:27 GMT", - "MS-CV": "RKNjywiQq06bNeJodP/LFQ.0", + "Date": "Wed, 27 Oct 2021 05:20:53 GMT", + "MS-CV": "p56WFWIi0k2x93dT/2ICag.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0\u002B1txYQAAAAC0J6LLv/LHRocJ5wPMcwuuTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0tuF4YQAAAACYYRNhXDmcSLFdBxo/iqMrUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "1dee4f8c5012be22d5091766cb8216c0", - "X-Processing-Time": "231ms" + "x-ms-client-request-id": "fa6ab14fb0023eb29bc4cae1807a6d3b", + "X-Processing-Time": "92ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-f37f-e1fe-0848220043ca" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-54dd-83fe-08482200338d" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-f37f-e1fe-0848220043ca/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-54dd-83fe-08482200338d/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "traceparent": "00-61da9ffdef6a86418d4f006aa467092c-6da8e15598e18244-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ed5e427df60631490649fd39a2db143f", + "traceparent": "00-2f5c32b3864b2e4583cde4c2dccb6a43-ca42480045e8e648-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "590db44fe66db393a29157fb1154921f", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -57,23 +63,23 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:27 GMT", - "MS-CV": "QuNL9hTP6UKcmDOJbiJYfw.0", + "Date": "Wed, 27 Oct 2021 05:20:54 GMT", + "MS-CV": "q2vbRsaavketbdXW2Q5WzA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0\u002B1txYQAAAACzWRoQ/DkATLL\u002BIi/qJV9HTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0tuF4YQAAAACcWPk7RsP3QLaRxJ0EzM6VUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "ed5e427df60631490649fd39a2db143f", - "X-Processing-Time": "101ms" + "x-ms-client-request-id": "590db44fe66db393a29157fb1154921f", + "X-Processing-Time": "100ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:28.2079835\u002B00:00" + "expiresOn": "2021-10-28T05:20:54.8472889\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "434789590" + "RandomSeed": "1406922107" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithTokenCredentialAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithTokenCredentialAsync.json index 66a56a02ecde..89c40f49b2fc 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithTokenCredentialAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/GettingTokenWithSingleScopeWithTokenCredentialAsync.json @@ -8,9 +8,12 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-39aa343ce25ffe4f8cd3ff8f3c1c0d6e-7c850d6f5862614f-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "007913714be8c3b7beaac72f2dbd769d", + "traceparent": "00-802d29e9f3a20443879e267bf9bf2d85-dc2ab32aeefc1e47-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "a8ce1770f121f9c68a4114b0c5b8f6d3", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -19,32 +22,35 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:33 GMT", - "MS-CV": "iTGOju0jaE6AxQRlJawZmg.0", + "Date": "Wed, 27 Oct 2021 05:21:00 GMT", + "MS-CV": "1CKL6IMInUSm\u002BRPPrlI2Bw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0AlxxYQAAAAAwolQqZHu/Q4bJjhOJ6949TElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0vOF4YQAAAACt4tkuL72DTaDCc3mOyaBlUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "007913714be8c3b7beaac72f2dbd769d", - "X-Processing-Time": "93ms" + "x-ms-client-request-id": "a8ce1770f121f9c68a4114b0c5b8f6d3", + "X-Processing-Time": "231ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-0c6f-e1fe-0848220043d7" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-6d60-84f5-084822003652" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b1-0c6f-e1fe-0848220043d7/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-6d60-84f5-084822003652/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "traceparent": "00-77c2147e5330d64693f6ede75f062976-6f4346c0af7e094c-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5e1a8d7843cc2af0cb0ed369cb2a4019", + "traceparent": "00-9abcd02e19264647984b1a1ac56f681c-f16f7e4e0b9b214e-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "d29193c42e466f18791d6c5d6cd46b8f", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -55,25 +61,25 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", - "Content-Length": "68", + "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:34 GMT", - "MS-CV": "qWSzfjyXuU22eWESpXyiCA.0", + "Date": "Wed, 27 Oct 2021 05:21:00 GMT", + "MS-CV": "VigtnY9yDkqZaT/KJEUwyQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0AlxxYQAAAADgl9LSZjkzSou18Lwv1YNRTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0vOF4YQAAAAAFT0358j3jT5i1tPMmcvW3UFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "5e1a8d7843cc2af0cb0ed369cb2a4019", - "X-Processing-Time": "98ms" + "x-ms-client-request-id": "d29193c42e466f18791d6c5d6cd46b8f", + "X-Processing-Time": "96ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:34.583518\u002B00:00" + "expiresOn": "2021-10-28T05:21:01.1150534\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "348303915" + "RandomSeed": "53756765" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/RevokeTokenWithNullUserShouldThrow.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/RevokeTokenWithNullUserShouldThrow.json index d5dcd2541479..af20fd781437 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/RevokeTokenWithNullUserShouldThrow.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/RevokeTokenWithNullUserShouldThrow.json @@ -2,6 +2,6 @@ "Entries": [], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "329315735" + "RandomSeed": "1307671072" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/RevokeTokenWithNullUserShouldThrowAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/RevokeTokenWithNullUserShouldThrowAsync.json index c9a85c9c6a8f..05f8f4812e89 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/RevokeTokenWithNullUserShouldThrowAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/RevokeTokenWithNullUserShouldThrowAsync.json @@ -2,6 +2,6 @@ "Entries": [], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1964066737" + "RandomSeed": "1526417556" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithAccessKey.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithAccessKey.json index da874d018780..8736135828ad 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithAccessKey.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithAccessKey.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-aa5748d8e6251546a3e696558f2050a1-54641deef9c0d642-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "3d70aa77bbb799d14cfb48e8300e2d5d", + "traceparent": "00-4679d75ac53d4d46a0710d0c23aa99e4-c7907555267db14a-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "1675d54033a224c26af380b92700e5ec", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:10 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:42 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,24 +24,24 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:12 GMT", - "MS-CV": "bqf7tn1d6km2G730sG\u002BvOw.0", + "Date": "Wed, 27 Oct 2021 05:20:43 GMT", + "MS-CV": "4CWfo/WatEWDnt\u002BIbY9tFA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "061txYQAAAABtimgxqI\u002BSRKPdXCQde/fSTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0quF4YQAAAAA20Rti9PQfSaMJbd3AdhI8UFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "3d70aa77bbb799d14cfb48e8300e2d5d", - "X-Processing-Time": "100ms" + "x-ms-client-request-id": "1675d54033a224c26af380b92700e5ec", + "X-Processing-Time": "96ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-b6dc-e1fe-0848220043bb" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-2a11-83fe-08482200337d" } } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "897935279" + "RandomSeed": "100576190" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithAccessKeyAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithAccessKeyAsync.json index b890da744740..1e9d763d9287 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithAccessKeyAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithAccessKeyAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-7559fb6e40fd4a4b8ee5c0647fdcd1b4-74fb125dea372141-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "a5fbaebbd3dbd20336f7d5e51fbb5798", + "traceparent": "00-54a8734e63240d43af1f2495d176a6d8-ed0f8342ea9a344e-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "7838a5ba721bd2bfc23073dc1bd77510", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:19 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:47 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,24 +24,24 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:19 GMT", - "MS-CV": "XX5LClYDCUC\u002BKiSMNwMd7A.0", + "Date": "Wed, 27 Oct 2021 05:20:47 GMT", + "MS-CV": "0hUFAMxlPUqpu3CQ/5jsKw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "081txYQAAAADcwcyVjrszTq1mBKrSDUJhTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0r\u002BF4YQAAAAD4MjZIRLaqRYC4hg9x/7EZUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "a5fbaebbd3dbd20336f7d5e51fbb5798", - "X-Processing-Time": "101ms" + "x-ms-client-request-id": "7838a5ba721bd2bfc23073dc1bd77510", + "X-Processing-Time": "98ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-d2de-e1fe-0848220043c1" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-3bb6-83fe-084822003382" } } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "64429519" + "RandomSeed": "289248096" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithToken.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithToken.json index 2da6ad39420e..f4ae17f789fc 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithToken.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithToken.json @@ -8,9 +8,12 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-aa5a3f5609c69f4faf204cc4a74e75b0-4d41760801a9b94d-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "1b5f5d5495a67bbceb7bb17bb595d9f8", + "traceparent": "00-0b9af763c8351449afcaab62eacd52a7-c61cca0eff73ae44-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "c01eee4628256c57c8cd770bf6b986d3", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -19,24 +22,24 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:15 GMT", - "MS-CV": "5KCQHaOoD0W\u002BJKnKjpCMKQ.0", + "Date": "Wed, 27 Oct 2021 05:20:44 GMT", + "MS-CV": "s72RAK\u002BZj0OO2ws7m6z\u002BAw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "071txYQAAAADkR4s7oay4QIDYXF0qneIPTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0rOF4YQAAAACOryJYVp8ITqOny6x1rPnjUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "1b5f5d5495a67bbceb7bb17bb595d9f8", - "X-Processing-Time": "268ms" + "x-ms-client-request-id": "c01eee4628256c57c8cd770bf6b986d3", + "X-Processing-Time": "87ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-c366-e1fe-0848220043bc" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-2e75-83fe-08482200337e" } } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "727080435" + "RandomSeed": "1891752129" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithTokenAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithTokenAsync.json index 562b51bf8ade..fc0ef4a1447e 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithTokenAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateIdentityWithTokenAsync.json @@ -8,9 +8,12 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-0ad255103e7c7a468f0cae679bcc7a93-1a2709f470220740-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "db60b292edd0648207b4d118d17a110d", + "traceparent": "00-cd09f1ab7d05464094d1fa7e5018bc01-cca823e48e1cf942-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "430eb0bb58be8885c8346bed8f982fd5", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -19,24 +22,24 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:19 GMT", - "MS-CV": "m8HSEePPQ0WKVxHSUK11QA.0", + "Date": "Wed, 27 Oct 2021 05:20:47 GMT", + "MS-CV": "2eOz2jeQJ0KkTa2u8FmIgw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "081txYQAAAACdBvgkmbj8Src/VohMfvEXTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0sOF4YQAAAACYe1l07XUgSbIShM6BwNe5UFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "db60b292edd0648207b4d118d17a110d", - "X-Processing-Time": "90ms" + "x-ms-client-request-id": "430eb0bb58be8885c8346bed8f982fd5", + "X-Processing-Time": "88ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-d47a-e1fe-0848220043c2" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-3cda-83fe-084822003383" } } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "2017550479" + "RandomSeed": "1102816751" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateUserAndToken.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateUserAndToken.json index 0d369defd2ec..a58a39b6d31b 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateUserAndToken.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateUserAndToken.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "34", "Content-Type": "application/json", - "traceparent": "00-d3cf8a6aa56327419ed558ae67a1d40b-e40730ce690b6a44-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "e48104eef2cd652a1c4ef15641d20f2b", + "traceparent": "00-f4604679902fb944ab506f73c3f1531c-b7b012ab59e4774a-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "c7b2558dbb6e9196abe2801a9a510bbf", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:15 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:44 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -25,28 +28,28 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "185", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:15 GMT", - "MS-CV": "6dEeUFqPjEum7\u002B1VH9AzHw.0", + "Date": "Wed, 27 Oct 2021 05:20:44 GMT", + "MS-CV": "OOkZl876sEuaZzsQZV9SjQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "071txYQAAAADLBKhcFlyySZNynWfSy/yWTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0rOF4YQAAAAC/CS75f5jqQ7f4zDmDQc3rUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "e48104eef2cd652a1c4ef15641d20f2b", - "X-Processing-Time": "183ms" + "x-ms-client-request-id": "c7b2558dbb6e9196abe2801a9a510bbf", + "X-Processing-Time": "186ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-c4cd-e1fe-0848220043bd" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-2fac-83fe-08482200337f" }, "accessToken": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:15.9860592\u002B00:00" + "expiresOn": "2021-10-28T05:20:45.1335188\u002B00:00" } } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "930769099" + "RandomSeed": "1458603293" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateUserAndTokenAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateUserAndTokenAsync.json index 5abc71e1fd9f..787a49f95e01 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateUserAndTokenAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/CreateUserAndTokenAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "34", "Content-Type": "application/json", - "traceparent": "00-e7929f0d55121d42a067ac599918a488-dacd9dccb98b3048-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5480debd8452bca2f42bc34fac303825", + "traceparent": "00-36fe908fb139d141944e29f984e8b42b-3fce57807d36aa4a-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "44a1cc595fe75fee23c7e54129ba7b9a", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:19 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:48 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -25,28 +28,28 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "185", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:20 GMT", - "MS-CV": "AvgvRloctUO5A4rKhu17mA.0", + "Date": "Wed, 27 Oct 2021 05:20:48 GMT", + "MS-CV": "Fp\u002BD9mlB/Ea/Bmecs8D1MA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "09FtxYQAAAADpjE9Fn7RMRKhfOXOa6zNITElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0sOF4YQAAAADkiTGujtS5SYRERyrIQ8RhUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "5480debd8452bca2f42bc34fac303825", - "X-Processing-Time": "183ms" + "x-ms-client-request-id": "44a1cc595fe75fee23c7e54129ba7b9a", + "X-Processing-Time": "176ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-d5cf-e1fe-0848220043c3" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-3e00-83fe-084822003384" }, "accessToken": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:20.3400453\u002B00:00" + "expiresOn": "2021-10-28T05:20:48.7968983\u002B00:00" } } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "94860182" + "RandomSeed": "353724430" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithValidToken.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/GetTokenForTeamsUser.json similarity index 59% rename from sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithValidToken.json rename to sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/GetTokenForTeamsUser.json index 38029524bc23..f7d1e1d95fe5 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithValidToken.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/GetTokenForTeamsUser.json @@ -8,11 +8,13 @@ "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-12e4485dfc425f4498a46217e81aa295-ae59980a3c2c884e-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "6135535c4e05860987ce15ac1b9caf00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "ef3b8a63e44b838aebf702a9f9d2fc55", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:24 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:45 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -23,23 +25,23 @@ "api-supported-versions": "2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:24 GMT", - "MS-CV": "h0YLd/Xpr0mmHKiEBrX96Q.0", + "Date": "Wed, 27 Oct 2021 05:20:45 GMT", + "MS-CV": "IhBgsHYrJESrP1cgg8mH3Q.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0\u002BFtxYQAAAADemBzWpzpcSKp4ezVPX/ypTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0reF4YQAAAAASZtXz\u002BPHdT4yG2cY08FxRUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "6135535c4e05860987ce15ac1b9caf00", - "X-Processing-Time": "300ms" + "x-ms-client-request-id": "ef3b8a63e44b838aebf702a9f9d2fc55", + "X-Processing-Time": "366ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-21T13:24:23.2686048\u002B00:00" + "expiresOn": "2021-10-27T06:20:43.1990276\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "254272543" + "RandomSeed": "1409312686" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithValidTokenAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/GetTokenForTeamsUserAsyncAsync.json similarity index 58% rename from sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithValidTokenAsync.json rename to sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/GetTokenForTeamsUserAsyncAsync.json index 0f2f9ec394c0..8c6c2f7f232e 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/CommunicationIdentityClientLiveTests/ExchangeTeamsUserAadTokenWithValidTokenAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/GetTokenForTeamsUserAsyncAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-004087def684784ebb8c57cd47cb4fb1-753e8060c5c10a4b-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "79cbdd309d832ced2c5652073dc3c921", + "traceparent": "00-75aadda087e83d44a803d016749e847b-939762fcff3bec42-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "ac5e5d9f4d1047212cae3af7b4af4b09", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:31 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:48 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -23,23 +26,23 @@ "api-supported-versions": "2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:31 GMT", - "MS-CV": "tOZIt\u002BZOxUOdTgGGwtJ03w.0", + "Date": "Wed, 27 Oct 2021 05:20:49 GMT", + "MS-CV": "o/ee4X5dj02x4RzC843Hfg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0/1txYQAAAADzTRYtK\u002BRVS6a1JNp9nk0mTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0seF4YQAAAAACE2qui8z5RLjnXEoWcLuLUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "79cbdd309d832ced2c5652073dc3c921", - "X-Processing-Time": "460ms" + "x-ms-client-request-id": "ac5e5d9f4d1047212cae3af7b4af4b09", + "X-Processing-Time": "375ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-21T13:24:30.0959572\u002B00:00" + "expiresOn": "2021-10-27T06:20:48.6719752\u002B00:00" } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1589355116" + "RandomSeed": "1251402164" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/Troubleshooting.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/Troubleshooting.json index c434397bc837..48aee201f590 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/Troubleshooting.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/Troubleshooting.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-cec11a25b9cfe24486fe4dffa444de5a-bb5b7e988ea84d45-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "240da02809f3f1c5d951fd44cea56e86", + "traceparent": "00-91706925eb12904884ddc3c4f443e260-9ead5bc8fbd83f41-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "fbdf077884fb5fd8367d97904243a273", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:17 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:45 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,24 +24,24 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:17 GMT", - "MS-CV": "Rk/FXyfiK0iQSLL/zcJopA.0", + "Date": "Wed, 27 Oct 2021 05:20:46 GMT", + "MS-CV": "YLTzdUprQUGziQg0Sd6sgw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "08VtxYQAAAADEuKP3rKzXSYwiJ3gYu9j6TElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0ruF4YQAAAACQrk6LrZdrT6R1DJP3QZPBUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "240da02809f3f1c5d951fd44cea56e86", - "X-Processing-Time": "98ms" + "x-ms-client-request-id": "fbdf077884fb5fd8367d97904243a273", + "X-Processing-Time": "94ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-cbb2-e1fe-0848220043be" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-3548-83fe-084822003380" } } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "848971200" + "RandomSeed": "2038993454" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/TroubleshootingAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/TroubleshootingAsync.json index a132409da2f8..4a0a7143d284 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/TroubleshootingAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/TroubleshootingAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-2f41dd8317b3dc4890aa610272e39d86-1aa726e0bd2ba746-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "e9eebba905b4a32daa9b5408f4bd9770", + "traceparent": "00-0ae3aaf2be819246aafb74f126b5a76f-5aa8303b7f448c47-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "867701b67fb09bf9ba5566d017f78b9a", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:21 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:49 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,24 +24,24 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:21 GMT", - "MS-CV": "ee6RgTT75EuXoMI/vojlxQ.0", + "Date": "Wed, 27 Oct 2021 05:20:49 GMT", + "MS-CV": "BGJhUbN/D0CndWKd0Iu6sg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "09VtxYQAAAACEerqiTIEBTbV/L4poSg3fTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0seF4YQAAAADIHm2Xtkx6TK2SKQCBg5PcUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "e9eebba905b4a32daa9b5408f4bd9770", - "X-Processing-Time": "95ms" + "x-ms-client-request-id": "867701b67fb09bf9ba5566d017f78b9a", + "X-Processing-Time": "93ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-dc80-e1fe-0848220043c4" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-42d1-83fe-084822003388" } } } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "551705928" + "RandomSeed": "568363500" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/UserAndTokenLifeCycle.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/UserAndTokenLifeCycle.json index 64cc35c06089..7f5f123cfd74 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/UserAndTokenLifeCycle.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/UserAndTokenLifeCycle.json @@ -8,10 +8,13 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "134cc5b2df914da61064db1f1eb7da6a", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "74b58396f5a418375eab1ab77fea80ed", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:17 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:46 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -20,33 +23,36 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:17 GMT", - "MS-CV": "9e21mLCHYkCXk9ozNWQFKg.0", + "Date": "Wed, 27 Oct 2021 05:20:46 GMT", + "MS-CV": "6z1kS2Wd4kCsXWyXPGClfA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "08VtxYQAAAABOmCPYPbiQR58Hu8LIMszcTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0ruF4YQAAAAAnvqybbvkbTI4AytDNecf3UFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "134cc5b2df914da61064db1f1eb7da6a", - "X-Processing-Time": "95ms" + "x-ms-client-request-id": "74b58396f5a418375eab1ab77fea80ed", + "X-Processing-Time": "96ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-cd0d-e1fe-0848220043c0" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-3660-83fe-084822003381" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-cd0d-e1fe-0848220043c0/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-3660-83fe-084822003381/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "239878d8cb0414b3b7b463b40b668afa", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "b22f955e708e50af5769ef7c853c1a50", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:18 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:46 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -59,77 +65,83 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:18 GMT", - "MS-CV": "IZ5Vyv0e4UipWA4ItmfeLQ.0", + "Date": "Wed, 27 Oct 2021 05:20:46 GMT", + "MS-CV": "\u002BTGuKgPfNkSxu/dY5q8ZGA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "08ltxYQAAAADHVwKNTrpySLnM42cSurwqTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0ruF4YQAAAADiWkDhNO9nSLcldoB5doOPUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "239878d8cb0414b3b7b463b40b668afa", - "X-Processing-Time": "103ms" + "x-ms-client-request-id": "b22f955e708e50af5769ef7c853c1a50", + "X-Processing-Time": "100ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:18.3627428\u002B00:00" + "expiresOn": "2021-10-28T05:20:47.0525335\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-cd0d-e1fe-0848220043c0/:revokeAccessTokens?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-3660-83fe-084822003381/:revokeAccessTokens?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "52b26322228c7946ccd85092fbf7972d", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "184c02a3c69e98c09248359b6c835c0d", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:18 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:46 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", - "Date": "Thu, 21 Oct 2021 12:24:18 GMT", - "MS-CV": "aiIyySgnckylC4v4TmEzZA.0", + "Date": "Wed, 27 Oct 2021 05:20:46 GMT", + "MS-CV": "jUT5VWZzQEeAy/HRvhRFqQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "08ltxYQAAAADQ06saE\u002BL4T4JfnAq/bTy\u002BTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0r\u002BF4YQAAAAA/xxdrXm3pQJKN6zUImuRIUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "52b26322228c7946ccd85092fbf7972d", - "X-Processing-Time": "165ms" + "x-ms-client-request-id": "184c02a3c69e98c09248359b6c835c0d", + "X-Processing-Time": "160ms" }, "ResponseBody": [] }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-cd0d-e1fe-0848220043c0?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-3660-83fe-084822003381?api-version=2021-10-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5b4f6f172b32e6c612385cdc7cf242a9", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "81f9f941101a2532d3641c3a05bb9221", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:18 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:47 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", - "Date": "Thu, 21 Oct 2021 12:24:18 GMT", - "MS-CV": "LPGln9JwfEeGri2M5E3kYg.0", + "Date": "Wed, 27 Oct 2021 05:20:47 GMT", + "MS-CV": "vHsbxUjBxk6MSM8TKavxlw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "08ltxYQAAAABDB3TmtONZTJPHj4\u002BSYIfaTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0r\u002BF4YQAAAAC7m\u002BsnitYwRLNDIX4ksEHmUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "5b4f6f172b32e6c612385cdc7cf242a9", - "X-Processing-Time": "163ms" + "x-ms-client-request-id": "81f9f941101a2532d3641c3a05bb9221", + "X-Processing-Time": "213ms" }, "ResponseBody": [] } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1261036304" + "RandomSeed": "1359080663" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/UserAndTokenLifeCycleAsyncAsync.json b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/UserAndTokenLifeCycleAsyncAsync.json index 769ed1e6c6e6..edbf8dbea2b9 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/UserAndTokenLifeCycleAsyncAsync.json +++ b/sdk/communication/Azure.Communication.Identity/tests/SessionRecords/Sample1_CommunicationIdentityClient/UserAndTokenLifeCycleAsyncAsync.json @@ -8,11 +8,14 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-1d0a1ac2e3af69499a1ef5ca61df3fe5-be8b81a9b4af4749-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "fcbd50d97cfe1addae00c10f70252a1c", + "traceparent": "00-69b6f42b7961f643ade7b008ff1fb3e3-d3e78e357534184a-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "021f7552fdcd0aa710659bb17ba84e9a", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:22 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:49 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, @@ -21,34 +24,37 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "101", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:22 GMT", - "MS-CV": "ws6Zf1roWkek11Lxsyz3DA.0", + "Date": "Wed, 27 Oct 2021 05:20:49 GMT", + "MS-CV": "IsZrSwJyGkOAcuure9LzCw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "09ltxYQAAAAAaBQCLhfPAR6DFN2jwR8VTTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0suF4YQAAAAAL1mdxEWviT7pkieuEqaqRUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "fcbd50d97cfe1addae00c10f70252a1c", - "X-Processing-Time": "97ms" + "x-ms-client-request-id": "021f7552fdcd0aa710659bb17ba84e9a", + "X-Processing-Time": "95ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-dde2-e1fe-0848220043c5" + "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-43f0-83fe-084822003389" } } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-dde2-e1fe-0848220043c5/:issueAccessToken?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-43f0-83fe-084822003389/:issueAccessToken?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "traceparent": "00-1a3b92aef51b344aa87e349b792f7d62-ba563a3451303546-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "2e233972e46c5b43e3f89d301b21a03f", + "traceparent": "00-d4b20325de25094ca6ae2e107d99c164-68a695b57a34e04f-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "d626e19c97af350aec30bc2711d0f311", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:22 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:49 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -61,79 +67,85 @@ "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 21 Oct 2021 12:24:22 GMT", - "MS-CV": "ezAydRrqrEuWVpGpBszKsA.0", + "Date": "Wed, 27 Oct 2021 05:20:49 GMT", + "MS-CV": "okEDCp39HEaKlI5DpGM/ug.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "09ltxYQAAAADvAzqiF8T7TIt9J5e1U1LBTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0suF4YQAAAABfw63VyGlUSbFnzBTiJT51UFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "2e233972e46c5b43e3f89d301b21a03f", - "X-Processing-Time": "104ms" + "x-ms-client-request-id": "d626e19c97af350aec30bc2711d0f311", + "X-Processing-Time": "99ms" }, "ResponseBody": { "token": "Sanitized", - "expiresOn": "2021-10-22T12:24:22.6715979\u002B00:00" + "expiresOn": "2021-10-28T05:20:50.5134944\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-dde2-e1fe-0848220043c5/:revokeAccessTokens?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-43f0-83fe-084822003389/:revokeAccessTokens?api-version=2021-10-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-3bb13cbba82fae45aefa1e7c0f7410f1-a299d2ff8aa14147-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "0a058113a7757223ead7821ac6e2bbb0", + "traceparent": "00-83caf1a44dffd140808acfd9dd0fdf86-ede687264a3ee544-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "8b679ddf076f9ca0e56e0970d3870fe7", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:22 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:50 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", - "Date": "Thu, 21 Oct 2021 12:24:22 GMT", - "MS-CV": "gL\u002BIytKV40SlrZLpLOAGXQ.0", + "Date": "Wed, 27 Oct 2021 05:20:50 GMT", + "MS-CV": "jooXjnK3UUqsqKxxPzRwrw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "09ltxYQAAAABIT/Jy9gOrQrDygMpiN787TElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0suF4YQAAAABadKxBX6UpTalpz5aAMF9sUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "0a058113a7757223ead7821ac6e2bbb0", - "X-Processing-Time": "162ms" + "x-ms-client-request-id": "8b679ddf076f9ca0e56e0970d3870fe7", + "X-Processing-Time": "165ms" }, "ResponseBody": [] }, { - "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-42b0-dde2-e1fe-0848220043c5?api-version=2021-10-31-preview", + "RequestUri": "https://sanitized.communication.azure.net/identities/8%3Aacs%3Aa5ba7870-ef05-4e2b-9901-7751faa29e20_0000000d-6013-43f0-83fe-084822003389?api-version=2021-10-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-ee040d9f1da9544c92f4e2eddcf8f44b-9f2745b86eb63746-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20211021.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "098b5b777ff0f58c0c621805dfacff8d", + "traceparent": "00-887978bd500e3e4483de8b3014cc1429-4f8d6c5f4726c549-00", + "User-Agent": [ + "azsdk-net-Communication.Identity/1.1.0-alpha.20211027.1", + "(.NET Core 3.1.20; Microsoft Windows 10.0.22488)" + ], + "x-ms-client-request-id": "db5384dcf120bae06ae9169d4180f940", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Thu, 21 Oct 2021 12:24:23 GMT", + "x-ms-date": "Wed, 27 Oct 2021 05:20:50 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", - "Date": "Thu, 21 Oct 2021 12:24:23 GMT", - "MS-CV": "MHs5OdUvqUW0sb1oewsP5A.0", + "Date": "Wed, 27 Oct 2021 05:20:50 GMT", + "MS-CV": "EoVeouiH90KENJWQYUXCoQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "091txYQAAAAAevipASzi3QbKC3ihOs/zfTElTMDFFREdFMDUxMwBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "X-Azure-Ref": "0suF4YQAAAABTJ98L7KBlS7YTUijXsJfKUFJHMDFFREdFMDkxMABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "098b5b777ff0f58c0c621805dfacff8d", - "X-Processing-Time": "166ms" + "x-ms-client-request-id": "db5384dcf120bae06ae9169d4180f940", + "X-Processing-Time": "216ms" }, "ResponseBody": [] } ], "Variables": { "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.net/;accesskey=Kg==", - "RandomSeed": "1734298960" + "RandomSeed": "1267959216" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Identity/tests/samples/Sample1_CommunicationIdentityClient.cs b/sdk/communication/Azure.Communication.Identity/tests/samples/Sample1_CommunicationIdentityClient.cs index 512d15cd860c..6f13aa7fafc1 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/samples/Sample1_CommunicationIdentityClient.cs +++ b/sdk/communication/Azure.Communication.Identity/tests/samples/Sample1_CommunicationIdentityClient.cs @@ -48,13 +48,13 @@ public async Task UserAndTokenLifeCycleAsync() Console.WriteLine($"Expires On: {expiresOn}"); #endregion Snippet:CreateCommunicationTokenAsync - #region Snippet:RevokeCommunicationUserTokenAsync + #region RevokeCommunicationUserTokenAsync Response revokeResponse = await client.RevokeTokensAsync(user); - #endregion Snippet:RevokeCommunicationUserTokenAsync + #endregion RevokeCommunicationUserTokenAsync - #region Snippet:DeleteACommunicationUserAsync + #region DeleteACommunicationUserAsync Response deleteResponse = await client.DeleteUserAsync(user); - #endregion Snippet:DeleteACommunicationUserAsync + #endregion DeleteACommunicationUserAsync } [Test] @@ -151,7 +151,7 @@ public async Task CreateIdentityWithAccessKey() [Test] [SyncOnly] - public void ExchangeTeamsUserAadToken() + public void GetTokenForTeamsUser() { if (TestEnvironment.ShouldIgnoreIdentityExchangeTokenTest) { @@ -161,16 +161,16 @@ public void ExchangeTeamsUserAadToken() var teamsToken = generateTeamsToken().Result; var client = CreateClientWithConnectionString(); - #region Snippet:ExchangeTeamsToken - Response tokenResponse = client.ExchangeTeamsUserAadToken(teamsToken); + #region Snippet:GetTokenForTeamsUser + Response tokenResponse = client.GetTokenForTeamsUser(teamsToken); string token = tokenResponse.Value.Token; Console.WriteLine($"Token: {token}"); - #endregion Snippet:ExchangeTeamsToken + #endregion Snippet:GetTokenForTeamsUser } [Test] [AsyncOnly] - public async Task ExchangeTeamsUserAadTokenAsync() + public async Task GetTokenForTeamsUserAsync() { if (TestEnvironment.ShouldIgnoreIdentityExchangeTokenTest) { Assert.Ignore("Ignore exchange teams token test if flag is enabled."); @@ -179,11 +179,11 @@ public async Task ExchangeTeamsUserAadTokenAsync() var teamsToken = await generateTeamsToken(); var client = CreateClientWithConnectionString(); - #region Snippet:ExchangeTeamsTokenAsync - Response tokenResponse = await client.ExchangeTeamsUserAadTokenAsync(teamsToken); + #region Snippet:GetTokenForTeamsUserAsync + Response tokenResponse = await client.GetTokenForTeamsUserAsync(teamsToken); string token = tokenResponse.Value.Token; Console.WriteLine($"Token: {token}"); - #endregion Snippet:ExchangeTeamsTokenAsync + #endregion Snippet:GetTokenForTeamsUserAsync } [Test]