Skip to content

Commit

Permalink
Add mediation requirement into interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Firehed committed Jul 16, 2024
1 parent 3e88b04 commit 92d83d4
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 92d83d4

Please sign in to comment.