@@ -1234,7 +1234,7 @@ public void TestAuthenticatorAssertionRawResponse()
1234
1234
Type = PublicKeyCredentialType . PublicKey ,
1235
1235
Id = new byte [ ] { 0xf1 , 0xd0 } ,
1236
1236
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
1237
- Extensions = new AuthenticationExtensionsClientOutputs
1237
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs
1238
1238
{
1239
1239
AppID = true ,
1240
1240
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -1264,13 +1264,13 @@ public void TestAuthenticatorAssertionRawResponse()
1264
1264
Assert . Equal ( new byte [ ] { 0xf1 , 0xd0 } , assertionResponse . Response . Signature ) ;
1265
1265
Assert . Equal ( clientDataJson , assertionResponse . Response . ClientDataJson ) ;
1266
1266
Assert . Equal ( new byte [ ] { 0xf1 , 0xd0 } , assertionResponse . Response . UserHandle ) ;
1267
- Assert . True ( assertionResponse . Extensions . AppID ) ;
1268
- Assert . Equal ( new string [ ] { "foo" , "bar" } , assertionResponse . Extensions . Extensions ) ;
1269
- Assert . Equal ( "test" , assertionResponse . Extensions . Example ) ;
1270
- Assert . Equal ( ( ulong ) 4 , assertionResponse . Extensions . UserVerificationMethod [ 0 ] [ 0 ] ) ;
1271
- Assert . True ( assertionResponse . Extensions . PRF . Enabled ) ;
1272
- Assert . Equal ( new byte [ ] { 0xf1 , 0xd0 } , assertionResponse . Extensions . PRF . Results . First ) ;
1273
- Assert . Equal ( new byte [ ] { 0xf1 , 0xd0 } , assertionResponse . Extensions . PRF . Results . Second ) ;
1267
+ Assert . True ( assertionResponse . ClientExtensionResults . AppID ) ;
1268
+ Assert . Equal ( new string [ ] { "foo" , "bar" } , assertionResponse . ClientExtensionResults . Extensions ) ;
1269
+ Assert . Equal ( "test" , assertionResponse . ClientExtensionResults . Example ) ;
1270
+ Assert . Equal ( ( ulong ) 4 , assertionResponse . ClientExtensionResults . UserVerificationMethod [ 0 ] [ 0 ] ) ;
1271
+ Assert . True ( assertionResponse . ClientExtensionResults . PRF . Enabled ) ;
1272
+ Assert . Equal ( new byte [ ] { 0xf1 , 0xd0 } , assertionResponse . ClientExtensionResults . PRF . Results . First ) ;
1273
+ Assert . Equal ( new byte [ ] { 0xf1 , 0xd0 } , assertionResponse . ClientExtensionResults . PRF . Results . Second ) ;
1274
1274
}
1275
1275
1276
1276
[ Fact ]
@@ -1310,7 +1310,7 @@ public async Task TestAuthenticatorAssertionTypeNotPublicKey()
1310
1310
Type = PublicKeyCredentialType . Invalid ,
1311
1311
Id = new byte [ ] { 0xf1 , 0xd0 } ,
1312
1312
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
1313
- Extensions = new AuthenticationExtensionsClientOutputs
1313
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs
1314
1314
{
1315
1315
AppID = false ,
1316
1316
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -1378,7 +1378,7 @@ public async Task TestAuthenticatorAssertionIdMissing()
1378
1378
Response = assertion ,
1379
1379
Type = PublicKeyCredentialType . PublicKey ,
1380
1380
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
1381
- Extensions = new AuthenticationExtensionsClientOutputs
1381
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs
1382
1382
{
1383
1383
AppID = false ,
1384
1384
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -1447,7 +1447,7 @@ public async Task TestAuthenticatorAssertionRawIdMissing()
1447
1447
Response = assertion ,
1448
1448
Type = PublicKeyCredentialType . PublicKey ,
1449
1449
Id = new byte [ ] { 0xf1 , 0xd0 } ,
1450
- Extensions = new AuthenticationExtensionsClientOutputs ( )
1450
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs ( )
1451
1451
{
1452
1452
AppID = false ,
1453
1453
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -1516,7 +1516,7 @@ public async Task TestAuthenticatorAssertionUserHandleEmpty()
1516
1516
Type = PublicKeyCredentialType . PublicKey ,
1517
1517
Id = new byte [ ] { 0xf1 , 0xd0 } ,
1518
1518
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
1519
- Extensions = new AuthenticationExtensionsClientOutputs ( )
1519
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs ( )
1520
1520
{
1521
1521
AppID = false ,
1522
1522
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -1585,7 +1585,7 @@ public async Task TestAuthenticatorAssertionUserHandleNotOwnerOfPublicKey()
1585
1585
Type = PublicKeyCredentialType . PublicKey ,
1586
1586
Id = new byte [ ] { 0xf1 , 0xd0 } ,
1587
1587
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
1588
- Extensions = new AuthenticationExtensionsClientOutputs ( )
1588
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs ( )
1589
1589
{
1590
1590
AppID = false ,
1591
1591
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -1654,7 +1654,7 @@ public async Task TestAuthenticatorAssertionTypeNotWebAuthnGet()
1654
1654
Type = PublicKeyCredentialType . PublicKey ,
1655
1655
Id = new byte [ ] { 0xf1 , 0xd0 } ,
1656
1656
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
1657
- Extensions = new AuthenticationExtensionsClientOutputs
1657
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs
1658
1658
{
1659
1659
AppID = false ,
1660
1660
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -1725,7 +1725,7 @@ public async Task TestAuthenticatorAssertionAppId()
1725
1725
Type = PublicKeyCredentialType . PublicKey ,
1726
1726
Id = new byte [ ] { 0xf1 , 0xd0 } ,
1727
1727
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
1728
- Extensions = new AuthenticationExtensionsClientOutputs ( )
1728
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs ( )
1729
1729
{
1730
1730
AppID = true ,
1731
1731
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -1795,7 +1795,7 @@ public async Task TestAuthenticatorAssertionInvalidRpIdHash()
1795
1795
Type = PublicKeyCredentialType . PublicKey ,
1796
1796
Id = new byte [ ] { 0xf1 , 0xd0 } ,
1797
1797
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
1798
- Extensions = new AuthenticationExtensionsClientOutputs ( )
1798
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs ( )
1799
1799
{
1800
1800
AppID = false ,
1801
1801
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -1866,7 +1866,7 @@ public async Task TestAuthenticatorAssertionUPRequirementNotMet()
1866
1866
Type = PublicKeyCredentialType . PublicKey ,
1867
1867
Id = new byte [ ] { 0xf1 , 0xd0 } ,
1868
1868
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
1869
- Extensions = new AuthenticationExtensionsClientOutputs
1869
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs
1870
1870
{
1871
1871
AppID = false ,
1872
1872
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -1936,7 +1936,7 @@ public async Task TestAuthenticatorAssertionUVPolicyNotMet()
1936
1936
Type = PublicKeyCredentialType . PublicKey ,
1937
1937
Id = new byte [ ] { 0xf1 , 0xd0 } ,
1938
1938
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
1939
- Extensions = new AuthenticationExtensionsClientOutputs
1939
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs
1940
1940
{
1941
1941
AppID = false ,
1942
1942
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -2004,7 +2004,7 @@ public async Task TestAuthenticatorAssertionBEPolicyRequired()
2004
2004
Type = PublicKeyCredentialType . PublicKey ,
2005
2005
Id = new byte [ ] { 0xf1 , 0xd0 } ,
2006
2006
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
2007
- Extensions = new AuthenticationExtensionsClientOutputs ( )
2007
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs ( )
2008
2008
{
2009
2009
AppID = false ,
2010
2010
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -2073,7 +2073,7 @@ public async Task TestAuthenticatorAssertionBEPolicyDisallow()
2073
2073
Type = PublicKeyCredentialType . PublicKey ,
2074
2074
Id = new byte [ ] { 0xf1 , 0xd0 } ,
2075
2075
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
2076
- Extensions = new AuthenticationExtensionsClientOutputs
2076
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs
2077
2077
{
2078
2078
AppID = false ,
2079
2079
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -2142,7 +2142,7 @@ public async Task TestAuthenticatorAssertionBSPolicyRequired()
2142
2142
Type = PublicKeyCredentialType . PublicKey ,
2143
2143
Id = new byte [ ] { 0xf1 , 0xd0 } ,
2144
2144
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
2145
- Extensions = new AuthenticationExtensionsClientOutputs
2145
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs
2146
2146
{
2147
2147
AppID = false ,
2148
2148
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -2211,7 +2211,7 @@ public async Task TestAuthenticatorAssertionBSPolicyDisallow()
2211
2211
Type = PublicKeyCredentialType . PublicKey ,
2212
2212
Id = new byte [ ] { 0xf1 , 0xd0 } ,
2213
2213
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
2214
- Extensions = new AuthenticationExtensionsClientOutputs
2214
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs
2215
2215
{
2216
2216
AppID = false ,
2217
2217
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -2281,7 +2281,7 @@ public async Task TestAuthenticatorAssertionStoredPublicKeyMissing()
2281
2281
Type = PublicKeyCredentialType . PublicKey ,
2282
2282
Id = new byte [ ] { 0xf1 , 0xd0 } ,
2283
2283
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
2284
- Extensions = new AuthenticationExtensionsClientOutputs ( )
2284
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs ( )
2285
2285
{
2286
2286
AppID = false ,
2287
2287
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -2350,7 +2350,7 @@ public async Task TestAuthenticatorAssertionInvalidSignature()
2350
2350
Type = PublicKeyCredentialType . PublicKey ,
2351
2351
Id = new byte [ ] { 0xf1 , 0xd0 } ,
2352
2352
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
2353
- Extensions = new AuthenticationExtensionsClientOutputs ( )
2353
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs ( )
2354
2354
{
2355
2355
AppID = false ,
2356
2356
Extensions = new string [ ] { "foo" , "bar" } ,
@@ -2426,7 +2426,7 @@ public async Task TestAuthenticatorAssertionSignCountSignature()
2426
2426
Type = PublicKeyCredentialType . PublicKey ,
2427
2427
Id = new byte [ ] { 0xf1 , 0xd0 } ,
2428
2428
RawId = new byte [ ] { 0xf1 , 0xd0 } ,
2429
- Extensions = new AuthenticationExtensionsClientOutputs ( )
2429
+ ClientExtensionResults = new AuthenticationExtensionsClientOutputs ( )
2430
2430
{
2431
2431
AppID = false ,
2432
2432
Extensions = new string [ ] { "foo" , "bar" } ,
0 commit comments