Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ public T WithB2CAuthority(string authorityUri)

internal /* for testing */ T WithAuthenticationOperation(IAuthenticationOperation authOperation)
{
ValidateUseOfExperimentalFeature();
CommonParameters.AuthenticationOperation = authOperation ?? throw new ArgumentNullException(nameof(authOperation));
return this as T;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ public static AbstractAcquireTokenParameterBuilder<T> WithAdditionalCacheParamet
return builder;
}

builder.ValidateUseOfExperimentalFeature();

//Check if the cache parameters are already initialized, if so, add to the existing list
if (builder.CommonParameters.AdditionalCacheParameters != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public async Task Should_UseCustomRequestHeaders_And_StoreAdditionalParameters()
ConfidentialClientApplicationBuilder.Create(TestConstants.ClientId)
.WithClientSecret(TestConstants.ClientSecret)
.WithHttpManager(httpManager)
.WithExperimentalFeatures(true)
.BuildConcrete();

HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, new Uri(ProtectedUrl));
Expand Down Expand Up @@ -78,7 +77,6 @@ public async Task Should_UseCustomRequestHeaders_And_StoreAdditionalParametersWi
ConfidentialClientApplicationBuilder.Create(TestConstants.ClientId)
.WithClientSecret(TestConstants.ClientSecret)
.WithHttpManager(httpManager)
.WithExperimentalFeatures(true)
.BuildConcrete();

HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, new Uri(ProtectedUrl));
Expand Down Expand Up @@ -158,7 +156,6 @@ public async Task Should_UseEmptyExtension_And_Parameters()
ConfidentialClientApplicationBuilder.Create(TestConstants.ClientId)
.WithClientSecret(TestConstants.ClientSecret)
.WithHttpManager(httpManager)
.WithExperimentalFeatures(true)
.BuildConcrete();

HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, new Uri(ProtectedUrl));
Expand Down