Package org.keycloak.locale
Interface LocaleSelectorProvider
- 
- All Superinterfaces:
- Provider
 - All Known Implementing Classes:
- DefaultLocaleSelectorProvider
 
 public interface LocaleSelectorProvider extends Provider 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringCLIENT_REQUEST_LOCALEstatic StringKC_LOCALE_PARAMstatic StringLOCALE_COOKIEstatic StringUSER_REQUEST_LOCALE
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description LocaleresolveLocale(RealmModel realm, UserModel user)Resolve the locale which should be used for the request
 
- 
- 
- 
Field Detail- 
LOCALE_COOKIEstatic final String LOCALE_COOKIE - See Also:
- Constant Field Values
 
 - 
KC_LOCALE_PARAMstatic final String KC_LOCALE_PARAM - See Also:
- Constant Field Values
 
 - 
CLIENT_REQUEST_LOCALEstatic final String CLIENT_REQUEST_LOCALE - See Also:
- Constant Field Values
 
 - 
USER_REQUEST_LOCALEstatic final String USER_REQUEST_LOCALE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
resolveLocaleLocale resolveLocale(RealmModel realm, UserModel user) Resolve the locale which should be used for the request- Parameters:
- user-
- Returns:
 
 
- 
 
-