diff --git a/sdk/mixedreality/Azure.MixedReality.Authentication/CHANGELOG.md b/sdk/mixedreality/Azure.MixedReality.Authentication/CHANGELOG.md index b1c7d069a93be..ceb3d0ea0dab8 100644 --- a/sdk/mixedreality/Azure.MixedReality.Authentication/CHANGELOG.md +++ b/sdk/mixedreality/Azure.MixedReality.Authentication/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History +## 1.0.0-beta.1 (2021-02-09) + +- Removed nullable annotations per guidance. + ## 1.0.0-preview.3 (2021-01-15) - Updated to latest version of spec file which changes the account identifier to be a `Guid` rather than a `string`. diff --git a/sdk/mixedreality/Azure.MixedReality.Authentication/api/Azure.MixedReality.Authentication.netstandard2.0.cs b/sdk/mixedreality/Azure.MixedReality.Authentication/api/Azure.MixedReality.Authentication.netstandard2.0.cs index df6335bd31583..324591c9373d6 100644 --- a/sdk/mixedreality/Azure.MixedReality.Authentication/api/Azure.MixedReality.Authentication.netstandard2.0.cs +++ b/sdk/mixedreality/Azure.MixedReality.Authentication/api/Azure.MixedReality.Authentication.netstandard2.0.cs @@ -3,10 +3,10 @@ namespace Azure.MixedReality.Authentication public partial class MixedRealityStsClient { protected MixedRealityStsClient() { } - public MixedRealityStsClient(System.Guid accountId, string accountDomain, Azure.AzureKeyCredential keyCredential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions? options = null) { } - public MixedRealityStsClient(System.Guid accountId, string accountDomain, Azure.Core.TokenCredential credential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions? options = null) { } - public MixedRealityStsClient(System.Guid accountId, System.Uri endpoint, Azure.AzureKeyCredential keyCredential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions? options = null) { } - public MixedRealityStsClient(System.Guid accountId, System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions? options = null) { } + public MixedRealityStsClient(System.Guid accountId, string accountDomain, Azure.AzureKeyCredential keyCredential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions options = null) { } + public MixedRealityStsClient(System.Guid accountId, string accountDomain, Azure.Core.TokenCredential credential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions options = null) { } + public MixedRealityStsClient(System.Guid accountId, System.Uri endpoint, Azure.AzureKeyCredential keyCredential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions options = null) { } + public MixedRealityStsClient(System.Guid accountId, System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions options = null) { } public System.Guid AccountId { get { throw null; } } public System.Uri Endpoint { get { throw null; } } public virtual Azure.Response GetToken(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } diff --git a/sdk/mixedreality/Azure.MixedReality.Authentication/src/Azure.MixedReality.Authentication.csproj b/sdk/mixedreality/Azure.MixedReality.Authentication/src/Azure.MixedReality.Authentication.csproj index d5be6f3a20843..39659fa882a3a 100644 --- a/sdk/mixedreality/Azure.MixedReality.Authentication/src/Azure.MixedReality.Authentication.csproj +++ b/sdk/mixedreality/Azure.MixedReality.Authentication/src/Azure.MixedReality.Authentication.csproj @@ -1,14 +1,12 @@  Microsoft Azure Mixed Reality STS Client - 1.0.0-preview.2 + 1.0.0-beta.1 Azure MixedReality © Microsoft Corporation. All rights reserved. Microsoft https://azure.microsoft.com/topic/mixed-reality/ $(RequiredTargetFrameworks) - enable - $(DefineConstants);AZURE_NULLABLE diff --git a/sdk/mixedreality/Azure.MixedReality.Authentication/src/MixedRealityStsClient.cs b/sdk/mixedreality/Azure.MixedReality.Authentication/src/MixedRealityStsClient.cs index 22fec4a837be1..8611d9aa6dab1 100644 --- a/sdk/mixedreality/Azure.MixedReality.Authentication/src/MixedRealityStsClient.cs +++ b/sdk/mixedreality/Azure.MixedReality.Authentication/src/MixedRealityStsClient.cs @@ -37,7 +37,7 @@ public class MixedRealityStsClient /// The Mixed Reality service account domain. /// The Mixed Reality service account primary or secondary key credential. /// The options. - public MixedRealityStsClient(Guid accountId, string accountDomain, AzureKeyCredential keyCredential, MixedRealityStsClientOptions? options = null) + public MixedRealityStsClient(Guid accountId, string accountDomain, AzureKeyCredential keyCredential, MixedRealityStsClientOptions options = null) : this(accountId, AuthenticationEndpoint.ConstructFromDomain(accountDomain), new MixedRealityAccountKeyCredential(accountId, keyCredential), options) { } /// @@ -47,7 +47,7 @@ public MixedRealityStsClient(Guid accountId, string accountDomain, AzureKeyCrede /// The Mixed Reality STS service endpoint. /// The Mixed Reality service account primary or secondary key credential. /// The options. - public MixedRealityStsClient(Guid accountId, Uri endpoint, AzureKeyCredential keyCredential, MixedRealityStsClientOptions? options = null) + public MixedRealityStsClient(Guid accountId, Uri endpoint, AzureKeyCredential keyCredential, MixedRealityStsClientOptions options = null) : this(accountId, endpoint, new MixedRealityAccountKeyCredential(accountId, keyCredential), options) { } /// @@ -57,7 +57,7 @@ public MixedRealityStsClient(Guid accountId, Uri endpoint, AzureKeyCredential ke /// The Mixed Reality service account domain. /// The credential used to access the Mixed Reality service. /// The options. - public MixedRealityStsClient(Guid accountId, string accountDomain, TokenCredential credential, MixedRealityStsClientOptions? options = null) + public MixedRealityStsClient(Guid accountId, string accountDomain, TokenCredential credential, MixedRealityStsClientOptions options = null) : this(accountId, AuthenticationEndpoint.ConstructFromDomain(accountDomain), credential, options) { } /// @@ -67,7 +67,7 @@ public MixedRealityStsClient(Guid accountId, string accountDomain, TokenCredenti /// The Mixed Reality STS service endpoint. /// The credential used to access the Mixed Reality service. /// The options. - public MixedRealityStsClient(Guid accountId, Uri endpoint, TokenCredential credential, MixedRealityStsClientOptions? options = null) + public MixedRealityStsClient(Guid accountId, Uri endpoint, TokenCredential credential, MixedRealityStsClientOptions options = null) { Argument.AssertNotDefault(ref accountId, nameof(accountId)); Argument.AssertNotNull(endpoint, nameof(endpoint));