public interface ClientModel extends ClientScopeModel, RoleContainerModel, ProtocolMapperContainerModel, ScopeContainerModel
OrderedModel.OrderedModelComparator<OM extends OrderedModel>RoleContainerModel.RoleRemovedEvent| Modifier and Type | Field and Description |
|---|---|
static String |
PRIVATE_KEY |
static String |
PUBLIC_KEY |
static String |
X509CERTIFICATE |
CONSENT_SCREEN_TEXT, DISPLAY_ON_CONSENT_SCREEN, GUI_ORDER, INCLUDE_IN_TOKEN_SCOPEgetGuiOrder, isIncludeInTokenScope, setConsentScreenText, setDisplayOnConsentScreen, setGuiOrder, setIncludeInTokenScopeaddProtocolMapper, getProtocolMapperById, getProtocolMapperByName, getProtocolMappers, removeProtocolMapper, updateProtocolMapperaddScopeMapping, deleteScopeMapping, getRealmScopeMappings, getScopeMappings, hasScopeaddDefaultRole, addRole, addRole, getDefaultRoles, getRole, getRoles, removeDefaultRoles, removeRole, updateDefaultRolesstatic final String PRIVATE_KEY
static final String PUBLIC_KEY
static final String X509CERTIFICATE
void updateClient()
String getId()
getId in interface ClientScopeModelgetId in interface RoleContainerModelString getClientId()
void setClientId(String clientId)
String getName()
getName in interface ClientScopeModelvoid setName(String name)
setName in interface ClientScopeModelString getDescription()
getDescription in interface ClientScopeModelvoid setDescription(String description)
setDescription in interface ClientScopeModelboolean isEnabled()
void setEnabled(boolean enabled)
boolean isSurrogateAuthRequired()
void setSurrogateAuthRequired(boolean surrogateAuthRequired)
void addWebOrigin(String webOrigin)
void removeWebOrigin(String webOrigin)
void addRedirectUri(String redirectUri)
void removeRedirectUri(String redirectUri)
String getManagementUrl()
void setManagementUrl(String url)
String getRootUrl()
void setRootUrl(String url)
String getBaseUrl()
void setBaseUrl(String url)
boolean isBearerOnly()
void setBearerOnly(boolean only)
int getNodeReRegistrationTimeout()
void setNodeReRegistrationTimeout(int timeout)
String getClientAuthenticatorType()
void setClientAuthenticatorType(String clientAuthenticatorType)
boolean validateSecret(String secret)
String getSecret()
void setSecret(String secret)
String getRegistrationToken()
void setRegistrationToken(String registrationToken)
String getProtocol()
getProtocol in interface ClientScopeModelvoid setProtocol(String protocol)
setProtocol in interface ClientScopeModelvoid setAttribute(String name, String value)
setAttribute in interface ClientScopeModelvoid removeAttribute(String name)
removeAttribute in interface ClientScopeModelString getAttribute(String name)
getAttribute in interface ClientScopeModelMap<String,String> getAttributes()
getAttributes in interface ClientScopeModelString getAuthenticationFlowBindingOverride(String binding)
binding - examples are "browser", "direct_grant"void removeAuthenticationFlowBindingOverride(String binding)
void setAuthenticationFlowBindingOverride(String binding, String flowId)
boolean isFrontchannelLogout()
void setFrontchannelLogout(boolean flag)
boolean isFullScopeAllowed()
void setFullScopeAllowed(boolean value)
boolean isPublicClient()
void setPublicClient(boolean flag)
boolean isConsentRequired()
void setConsentRequired(boolean consentRequired)
boolean isStandardFlowEnabled()
void setStandardFlowEnabled(boolean standardFlowEnabled)
boolean isImplicitFlowEnabled()
void setImplicitFlowEnabled(boolean implicitFlowEnabled)
boolean isDirectAccessGrantsEnabled()
void setDirectAccessGrantsEnabled(boolean directAccessGrantsEnabled)
boolean isServiceAccountsEnabled()
void setServiceAccountsEnabled(boolean serviceAccountsEnabled)
RealmModel getRealm()
getRealm in interface ClientScopeModelvoid addClientScope(ClientScopeModel clientScope, boolean defaultScope)
clientScope - defaultScope - void removeClientScope(ClientScopeModel clientScope)
Map<String,ClientScopeModel> getClientScopes(boolean defaultScope, boolean filterByProtocol)
defaultScope - filterByProtocol - if true, then just client scopes of same protocol like current client will be returneddefault ClientScopeModel getDynamicClientScope(String scope)
Returns a ClientScopeModel associated with this client.
This method is used as a fallback in order to let clients to resolve a scope dynamically which is not listed as default or optional scope when calling getClientScopes(boolean, boolean).
scope - the scope nameint getNotBefore()
void setNotBefore(int notBefore)
void registerNode(String nodeHost, int registrationTime)
nodeHost - registrationTime - void unregisterNode(String nodeHost)
default boolean isDisplayOnConsentScreen()
isDisplayOnConsentScreen in interface ClientScopeModeldefault String getConsentScreenText()
getConsentScreenText in interface ClientScopeModelCopyright © 2019 JBoss by Red Hat. All rights reserved.