You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -988,6 +990,23 @@ class RelyingPartyAssertionSpec extends FunSpec with Matchers with ScalaCheckDri
988
990
// }
989
991
}
990
992
993
+
it("Succeeds if clientExtensionResults is not a subset of the extensions requested by the Relying Party, but the Relying Party has enabled allowing unrequested extensions.") {
it("Succeeds if clientExtensionResults is a subset of the extensions requested by the Relying Party.") {
992
1011
forAll(subsetAssertionExtensions) { case (extensionInputs, clientExtensionOutputs) =>
993
1012
valsteps= finishAssertion(
@@ -1021,6 +1040,24 @@ class RelyingPartyAssertionSpec extends FunSpec with Matchers with ScalaCheckDri
1021
1040
}
1022
1041
}
1023
1042
1043
+
it("Succeeds if authenticator extensions is not a subset of the extensions requested by the Relying Party, but the Relying Party has enabled allowing unrequested extensions.") {
1044
+
forAll(anyAuthenticatorExtensions[AssertionExtensionInputs]) { case (extensionInputs: AssertionExtensionInputs, authenticatorExtensionOutputs: ObjectNode) =>
@@ -686,6 +688,24 @@ class RelyingPartyRegistrationSpec extends FunSpec with Matchers with ScalaCheck
686
688
}
687
689
}
688
690
691
+
ignore("Succeeds if clientExtensionResults is not a subset of the extensions requested by the Relying Party, but the Relying Party has enabled allowing unrequested extensions.") {
692
+
forAll(anyRegistrationExtensions) { case (extensionInputs, clientExtensionOutputs) =>
it("Succeeds if clientExtensionResults is a subset of the extensions requested by the Relying Party.") {
690
710
forAll(subsetRegistrationExtensions) { case (extensionInputs, clientExtensionOutputs) =>
691
711
valsteps= finishRegistration(
@@ -725,6 +745,28 @@ class RelyingPartyRegistrationSpec extends FunSpec with Matchers with ScalaCheck
725
745
}
726
746
}
727
747
748
+
it("Succeeds if authenticator extensions is not a subset of the extensions requested by the Relying Party, but the Relying Party has enabled allowing unrequested extensions.") {
749
+
forAll(anyAuthenticatorExtensions[RegistrationExtensionInputs]) { case (extensionInputs: RegistrationExtensionInputs, authenticatorExtensionOutputs: ObjectNode) =>
0 commit comments