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_SCOPE
getGuiOrder, isIncludeInTokenScope, setConsentScreenText, setDisplayOnConsentScreen, setGuiOrder, setIncludeInTokenScope
addProtocolMapper, getProtocolMapperById, getProtocolMapperByName, getProtocolMappers, removeProtocolMapper, updateProtocolMapper
addScopeMapping, deleteScopeMapping, getRealmScopeMappings, getScopeMappings, hasScope
addDefaultRole, addRole, addRole, getDefaultRoles, getRole, getRoles, removeDefaultRoles, removeRole, updateDefaultRoles
static final String PRIVATE_KEY
static final String PUBLIC_KEY
static final String X509CERTIFICATE
void updateClient()
String getId()
getId
in interface ClientScopeModel
getId
in interface RoleContainerModel
String getClientId()
void setClientId(String clientId)
String getName()
getName
in interface ClientScopeModel
void setName(String name)
setName
in interface ClientScopeModel
String getDescription()
getDescription
in interface ClientScopeModel
void setDescription(String description)
setDescription
in interface ClientScopeModel
boolean 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 ClientScopeModel
void setProtocol(String protocol)
setProtocol
in interface ClientScopeModel
void setAttribute(String name, String value)
setAttribute
in interface ClientScopeModel
void removeAttribute(String name)
removeAttribute
in interface ClientScopeModel
String getAttribute(String name)
getAttribute
in interface ClientScopeModel
Map<String,String> getAttributes()
getAttributes
in interface ClientScopeModel
String 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 ClientScopeModel
void 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 ClientScopeModel
default String getConsentScreenText()
getConsentScreenText
in interface ClientScopeModel
Copyright © 2019 JBoss by Red Hat. All rights reserved.