public class DefaultClientScopes extends Object
Constructor and Description |
---|
DefaultClientScopes() |
Modifier and Type | Method and Description |
---|---|
static void |
createDefaultClientScopes(KeycloakSession session,
RealmModel realm,
boolean addScopesToExistingClients) |
static void |
createOfflineAccessClientScope(RealmModel newRealm,
RoleModel offlineRole) |
public static void createDefaultClientScopes(KeycloakSession session, RealmModel realm, boolean addScopesToExistingClients)
session
- realm
- addScopesToExistingClients
- true when creating new realm. False when migrating from previous versionpublic static void createOfflineAccessClientScope(RealmModel newRealm, RoleModel offlineRole)
Copyright © 2021 JBoss by Red Hat. All rights reserved.