@@ -80,6 +80,7 @@ public async Task HappyPath_Async()
80
80
. Create ( settings . ClientId )
81
81
. WithAuthority ( settings . Authority )
82
82
. WithClientSecret ( settings . GetSecret ( ) )
83
+ . WithExperimentalFeatures ( true )
83
84
. WithTestLogging ( )
84
85
. Build ( ) ;
85
86
@@ -107,6 +108,7 @@ private async Task BearerAndPoP_CanCoexist_Async()
107
108
var cca = ConfidentialClientApplicationBuilder
108
109
. Create ( settings . ClientId )
109
110
. WithClientSecret ( settings . GetSecret ( ) )
111
+ . WithExperimentalFeatures ( true )
110
112
. WithTestLogging ( )
111
113
. WithAuthority ( settings . Authority ) . Build ( ) ;
112
114
ConfigureInMemoryCache ( cca ) ;
@@ -155,7 +157,9 @@ private async Task MultipleKeys_Async()
155
157
var cca = ConfidentialClientApplicationBuilder . Create ( settings . ClientId )
156
158
. WithTestLogging ( )
157
159
. WithAuthority ( settings . Authority )
158
- . WithClientSecret ( settings . GetSecret ( ) ) . Build ( ) ;
160
+ . WithClientSecret ( settings . GetSecret ( ) )
161
+ . WithExperimentalFeatures ( true )
162
+ . Build ( ) ;
159
163
ConfigureInMemoryCache ( cca ) ;
160
164
161
165
var result = await cca
@@ -176,6 +180,7 @@ private async Task MultipleKeys_Async()
176
180
. Create ( settings . ClientId )
177
181
. WithAuthority ( settings . Authority )
178
182
. WithClientSecret ( settings . GetSecret ( ) )
183
+ . WithExperimentalFeatures ( true )
179
184
. WithHttpClientFactory ( new NoAccessHttpClientFactory ( ) ) // token should be served from the cache, no network access necessary
180
185
. Build ( ) ;
181
186
ConfigureInMemoryCache ( cca ) ;
@@ -221,6 +226,7 @@ public async Task PopTestWithConfigObjectAsync()
221
226
. Create ( settings . ClientId )
222
227
. WithAuthority ( settings . Authority )
223
228
. WithClientSecret ( settings . GetSecret ( ) )
229
+ . WithExperimentalFeatures ( true )
224
230
. WithTestLogging ( )
225
231
. Build ( ) ;
226
232
@@ -257,6 +263,7 @@ public async Task PopTestWithRSAAsync()
257
263
. Create ( settings . ClientId )
258
264
. WithAuthority ( settings . Authority )
259
265
. WithClientSecret ( settings . GetSecret ( ) )
266
+ . WithExperimentalFeatures ( true )
260
267
. Build ( ) ;
261
268
262
269
//RSA provider
@@ -294,6 +301,7 @@ public async Task ROPC_PopTestWithRSAAsync()
294
301
. Create ( settings . ClientId )
295
302
. WithAuthority ( settings . Authority )
296
303
. WithClientSecret ( settings . GetSecret ( ) )
304
+ . WithExperimentalFeatures ( true )
297
305
. Build ( ) ;
298
306
299
307
//RSA provider
@@ -324,6 +332,7 @@ public async Task PopTest_ExternalWilsonSigning_Async()
324
332
. Create ( settings . ClientId )
325
333
. WithAuthority ( settings . Authority )
326
334
. WithClientSecret ( settings . GetSecret ( ) )
335
+ . WithExperimentalFeatures ( true )
327
336
. Build ( ) ;
328
337
329
338
// Create an RSA key Wilson style (SigningCredentials)
@@ -389,6 +398,7 @@ public async Task PopTestWithECDAsync()
389
398
. Create ( settings . ClientId )
390
399
. WithAuthority ( settings . Authority )
391
400
. WithClientSecret ( settings . GetSecret ( ) )
401
+ . WithExperimentalFeatures ( true )
392
402
. Build ( ) ;
393
403
394
404
//ECD Provider
@@ -520,6 +530,7 @@ public async Task InMemoryCryptoProvider_AlgIsPS256()
520
530
. Create ( settings . ClientId )
521
531
. WithAuthority ( settings . Authority )
522
532
. WithClientSecret ( settings . GetSecret ( ) )
533
+ . WithExperimentalFeatures ( true )
523
534
. Build ( ) ;
524
535
525
536
// Create a new InMemoryCryptoProvider and get its JWK
@@ -572,6 +583,7 @@ public async Task InMemoryCryptoProvider_WithGraph()
572
583
. Create ( settings . ClientId )
573
584
. WithAuthority ( settings . Authority )
574
585
. WithClientSecret ( settings . GetSecret ( ) )
586
+ . WithExperimentalFeatures ( true )
575
587
. Build ( ) ;
576
588
577
589
// Create a new InMemoryCryptoProvider and get its JWK
@@ -659,6 +671,7 @@ public async Task PoPToken_ShouldHaveCorrectAlgorithm_PS256_Async()
659
671
. Create ( settings . ClientId )
660
672
. WithAuthority ( settings . Authority )
661
673
. WithClientSecret ( settings . GetSecret ( ) )
674
+ . WithExperimentalFeatures ( true )
662
675
. Build ( ) ;
663
676
664
677
var popConfig = new PoPAuthenticationConfiguration ( new Uri ( ProtectedUrl ) )
0 commit comments