Package org.keycloak.models.utils
Class DefaultClientScopes
java.lang.Object
org.keycloak.models.utils.DefaultClientScopes
- Author:
 - Marek Posolda
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateDefaultClientScopes(KeycloakSession session, RealmModel realm, boolean addScopesToExistingClients) static voidcreateOfflineAccessClientScope(RealmModel newRealm, RoleModel offlineRole)  
- 
Constructor Details
- 
DefaultClientScopes
public DefaultClientScopes() 
 - 
 - 
Method Details
- 
createDefaultClientScopes
public static void createDefaultClientScopes(KeycloakSession session, RealmModel realm, boolean addScopesToExistingClients) - Parameters:
 session-realm-addScopesToExistingClients- true when creating new realm. False when migrating from previous version
 - 
createOfflineAccessClientScope
 
 -