Skip to content

Commit 1c7b416

Browse files
authored
Add mediation requirement into create response parsing interface (#86)
This was omitted from #83. Adding it to the interface ensures that clients can actually use this without having to perform additional type checking.
1 parent 3e88b04 commit 1c7b416

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Responses/AttestationInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
ChallengeLoaderInterface,
1010
CredentialInterface,
1111
RelyingPartyInterface,
12+
Enums\CredentialMediationRequirement,
1213
Enums\UserVerificationRequirement,
1314
};
1415

@@ -30,5 +31,6 @@ public function verify(
3031
RelyingPartyInterface $rp,
3132
UserVerificationRequirement $uv = UserVerificationRequirement::Preferred,
3233
bool $rejectUncertainTrustPaths = true,
34+
CredentialMediationRequirement $mediation = CredentialMediationRequirement::Optional,
3335
): CredentialInterface;
3436
}

0 commit comments

Comments
 (0)