Class DefaultClientScopes

java.lang.Object
org.keycloak.models.utils.DefaultClientScopes

public class DefaultClientScopes extends Object
Author:
Marek Posolda
  • 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

      public static void createOfflineAccessClientScope(RealmModel newRealm, RoleModel offlineRole)