Class LoAUtil
- java.lang.Object
- 
- org.keycloak.authentication.authenticators.util.LoAUtil
 
- 
 public class LoAUtil extends Object - Author:
- Marek Posolda
 
- 
- 
Constructor SummaryConstructors Constructor Description LoAUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetCurrentLevelOfAuthentication(AuthenticatedClientSessionModel clientSession)static IntegergetLevelFromLoaConditionConfiguration(AuthenticatorConfigModel loaConditionConfig)static Stream<Integer>getLoAConfiguredInRealmBrowserFlow(RealmModel realm)static Map<Integer,Integer>getLoaMaxAgesConfiguredInRealmBrowserFlow(RealmModel realm)static intgetMaxAgeFromLoaConditionConfiguration(AuthenticatorConfigModel loaConditionConfig)
 
- 
- 
- 
Method Detail- 
getCurrentLevelOfAuthenticationpublic static int getCurrentLevelOfAuthentication(AuthenticatedClientSessionModel clientSession) - Parameters:
- clientSession-
- Returns:
- current level from client session
 
 - 
getLoAConfiguredInRealmBrowserFlowpublic static Stream<Integer> getLoAConfiguredInRealmBrowserFlow(RealmModel realm) - Parameters:
- realm-
- Returns:
- All LoA numbers configured in the conditions in the realm browser flow
 
 - 
getLoaMaxAgesConfiguredInRealmBrowserFlowpublic static Map<Integer,Integer> getLoaMaxAgesConfiguredInRealmBrowserFlow(RealmModel realm) - Parameters:
- realm-
- Returns:
- All LoA numbers configured in the conditions in the realm browser flow. Key is level, Vaue is maxAge for particular level
 
 - 
getLevelFromLoaConditionConfigurationpublic static Integer getLevelFromLoaConditionConfiguration(AuthenticatorConfigModel loaConditionConfig) 
 - 
getMaxAgeFromLoaConditionConfigurationpublic static int getMaxAgeFromLoaConditionConfiguration(AuthenticatorConfigModel loaConditionConfig) 
 
- 
 
-