Skip to content

Commit

Permalink
Add mediation requirement into create response parsing interface (#86)
Browse files Browse the repository at this point in the history
This was omitted from #83. Adding it to the interface ensures that
clients can actually use this without having to perform additional type
checking.
  • Loading branch information
Firehed authored Jul 16, 2024
1 parent 3e88b04 commit 1c7b416
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Responses/AttestationInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
ChallengeLoaderInterface,
CredentialInterface,
RelyingPartyInterface,
Enums\CredentialMediationRequirement,
Enums\UserVerificationRequirement,
};

Expand All @@ -30,5 +31,6 @@ public function verify(
RelyingPartyInterface $rp,
UserVerificationRequirement $uv = UserVerificationRequirement::Preferred,
bool $rejectUncertainTrustPaths = true,
CredentialMediationRequirement $mediation = CredentialMediationRequirement::Optional,
): CredentialInterface;
}

0 comments on commit 1c7b416

Please sign in to comment.