Interface ClaimGatheringHandler


public interface ClaimGatheringHandler
A handler capable of gathering claims for a given type, from a given issuer.
  • Method Details

    • getClaimTokenFormat

      String getClaimTokenFormat()
      Get the claim token format supported by this handler.
      Returns:
      the supported claim token format
    • getIssuer

      String getIssuer()
      Get the issuer supported by this handler.
      Returns:
      the supported issuer
    • getClaimType

      String getClaimType()
      Get the claim type supported by this handler.
      Returns:
      the supported claim type
    • gather

      Gather a claim token asynchronously.
      Returns:
      the next stage of completion containing a new claim token
    • isCompatibleWith

      default boolean isCompatibleWith(RequiredClaims requirements)
      Determine if this handler is compatible with the listed UMA requirements.
      Parameters:
      requirements - the requirements for an interaction to proceed
      Returns:
      true if this handler is compatible with the described requirements; false otherwise