Interface Consentor

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 Consentor
Defines a consentor plugin to extend the consent phase.
Since:
4.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(ConsentAttributes consentAttributes, String transactionId)
    Applies the consentor to the result of the user's consent.
  • Method Details

    • apply

      ConsentorResult apply(ConsentAttributes consentAttributes, String transactionId)
      Applies the consentor to the result of the user's consent.
      Parameters:
      consentAttributes - the consentor request (see ConsentAttributes for details).
      transactionId - the id for the current consent flow.
      Returns:
      The consentor result see ConsentorResult for all the possible options.