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
A ConfirmationKeyVerifier is responsible to verify a confirmation key node.
  • Field Details

    • UNKNOWN

      static final ConfirmationKeyVerifier 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 context
      tokenInfo - resolved (but not authorized) access_token info
      cnfKey - cnf child node such as x5t#S256.
      Returns:
      a promise of a validation result