Package org.keycloak.models.utils
Class DefaultClientScopes
java.lang.Object
org.keycloak.models.utils.DefaultClientScopes
- Author:
- Marek Posolda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
createDefaultClientScopes
(KeycloakSession session, RealmModel realm, boolean addScopesToExistingClients) static void
createOfflineAccessClientScope
(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
-