Class AcrUtils

java.lang.Object
org.keycloak.protocol.oidc.utils.AcrUtils

public class AcrUtils extends Object
  • Constructor Details

    • AcrUtils

      public AcrUtils()
  • Method Details

    • getRequiredAcrValues

      public static List<String> getRequiredAcrValues(String claimsParam)
    • getAcrValues

      public static List<String> getAcrValues(String claimsParam, String acrValuesParam, ClientModel client)
    • getAcrLoaMap

      public static Map<String,Integer> getAcrLoaMap(ClientModel client)
      Parameters:
      client -
      Returns:
      map corresponding to "acr-to-loa" client attribute. It will fallback to realm in case "acr-to-loa" mapping not configured on client
    • getAcrLoaMap

      public static Map<String,Integer> getAcrLoaMap(RealmModel realm)
      Parameters:
      realm -
      Returns:
      map corresponding to "acr-to-loa" realm attribute.
    • mapLoaToAcr

      public static String mapLoaToAcr(int loa, Map<String,Integer> acrLoaMap, Collection<String> acrValues)
    • getDefaultAcrValues

      public static List<String> getDefaultAcrValues(ClientModel client)