Class ConsentManagementContext

  • All Implemented Interfaces:
    Iterable<BaseContext>

    public final class ConsentManagementContext
    extends BaseContext
    Context representing signals to consent flows for managing their state.

    This context acts as a public interface between other flows and flows that implement consent-related functionality.

    • Field Detail

      • revokeConsent

        private boolean revokeConsent
        Whether to revoke consent previously granted.
    • Constructor Detail

      • ConsentManagementContext

        public ConsentManagementContext()
        Constructor.
    • Method Detail

      • getRevokeConsent

        public boolean getRevokeConsent()
        Get whether consent should be revoked.
        Returns:
        whether consent should be revoked
      • setRevokeConsent

        @Nonnull
        public ConsentManagementContext setRevokeConsent​(boolean flag)
        Set whether consent should be revoked.
        Parameters:
        flag - flag to set
        Returns:
        this context