Class DefaultClientScopes

    • Constructor Detail

      • DefaultClientScopes

        public DefaultClientScopes()
    • Method Detail

      • 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)