package com.airlock.iam.oauth2.domain.model;

import com.airlock.iam.plugin.framework.domain.model.property.EnumPropertyTranslator;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

public enum PkceCodeChallengeMethod implements EnumPropertyTranslator {
   PKCE_NOT_ENFORCED("PKCE not enforced"),
   S256("S256 required"),
   PLAIN_OR_S256("plain or S256 required (not recommended for security reasons)");

   private final String displayValue;

   @SuppressFBWarnings(justification = "generated code")
   public String getDisplayValue() {
      return this.displayValue;
   }

   @SuppressFBWarnings(justification = "generated code")
   PkceCodeChallengeMethod(final String displayValue) {
      this.displayValue = displayValue;
   }
}
