Package org.keycloak.protocol.oidc.utils
Class AcrUtils
java.lang.Object
org.keycloak.protocol.oidc.utils.AcrUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenforceMinimumAcr
(List<String> acrValues, ClientModel client) getAcrLoaMap
(ClientModel client) getAcrLoaMap
(RealmModel realm) getAcrValues
(String claimsParam, String acrValuesParam, ClientModel client) getDefaultAcrValues
(ClientModel client) static String
getMinimumAcrValue
(ClientModel client) getRequiredAcrValues
(String claimsParam) static String
mapLoaToAcr
(int loa, Map<String, Integer> acrLoaMap, Collection<String> acrValues)
-
Constructor Details
-
AcrUtils
public AcrUtils()
-
-
Method Details
-
getRequiredAcrValues
-
getAcrValues
public static List<String> getAcrValues(String claimsParam, String acrValuesParam, ClientModel client) -
enforceMinimumAcr
-
getAcrLoaMap
- 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
- Parameters:
realm
-- Returns:
- map corresponding to "acr-to-loa" realm attribute.
-
mapLoaToAcr
-
getDefaultAcrValues
-
getMinimumAcrValue
-