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.
@FunctionalInterface public interface ConfirmationKeyVerifier
AConfirmationKeyVerifier
is responsible to verify a confirmation key node.
-
-
Field Summary
Fields Modifier and Type Field Description static ConfirmationKeyVerifier
UNKNOWN
Verifier that always fail because verification method is not supported.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Promise<Result,NeverThrowsException>
verify(Context context, AccessTokenInfo tokenInfo, JsonValue cnfKey)
Verifies the given confirmation key value.
-
-
-
Field Detail
-
UNKNOWN
static final ConfirmationKeyVerifier UNKNOWN
Verifier that always fail because verification method is not supported.
-
-
Method Detail
-
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
-
-