Interface ConfirmationKeyVerifier
- All Known Implementing Classes:
ClientContextCertificateThumbprintVerifier,Sha256AttributeCertificateThumbprintVerifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
ConfirmationKeyVerifier is responsible to verify a confirmation key node.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConfirmationKeyVerifierVerifier that always fail because verification method is not supported. -
Method Summary
Modifier and TypeMethodDescriptionverify(Context context, AccessTokenInfo tokenInfo, JsonValue cnfKey) Verifies the given confirmation key value.
-
Field Details
-
UNKNOWN
Verifier that always fail because verification method is not supported.
-
-
Method Details
-
verify
Promise<Result,NeverThrowsException> verify(Context context, AccessTokenInfo tokenInfo, JsonValue cnfKey) Verifies the given confirmation key value.- Parameters:
context- execution contexttokenInfo- resolved (but not authorized) access_token infocnfKey- cnf child node such as x5t#S256.- Returns:
- a promise of a validation result
-