Interface TokenVerificationResult
- All Known Implementing Classes:
TokenVerificationResult.NotMatched, TokenVerificationResult.SelectorMismatch, TokenVerificationResult.Verified
public sealed interface TokenVerificationResult
permits TokenVerificationResult.Verified, TokenVerificationResult.NotMatched, TokenVerificationResult.SelectorMismatch
Outcome of
TokenDigestService.verifyVerifier(SelectorVerifierToken, TokenDigestRecord). Sealed so
adapters pattern-match exhaustively. The two failure variants must
collapse to the same generic public response at the perimeter
(CWE-203 / CWE-208).-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordThe supplied token's selector does not match the stored digest's selector.static final record