public class OAuthClientAdapter extends ClientAdapter implements OAuthClientModel
clientEntity, realm, session
PRIVATE_KEY, PUBLIC_KEY, X509CERTIFICATE
Constructor and Description |
---|
OAuthClientAdapter(KeycloakSession session,
RealmModel realm,
OAuthClientEntity oauthClientEntity) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
isDirectGrantsOnly() |
void |
setClientId(String id) |
void |
setDirectGrantsOnly(boolean flag) |
addProtocolMapper, addRedirectUri, addScopeMapping, addWebOrigin, deleteScopeMapping, entityToModel, getAttribute, getAttributes, getClientId, getId, getIdentityProviders, getNotBefore, getProtocol, getProtocolMapperById, getProtocolMapperByName, getProtocolMapperEntityById, getProtocolMapperEntityByName, getProtocolMappers, getRealm, getRealmScopeMappings, getRedirectUris, getScopeMappings, getSecret, getWebOrigins, hasScope, isAllowedRetrieveTokenFromIdentityProvider, isEnabled, isFrontchannelLogout, isFullScopeAllowed, isPublicClient, removeAttribute, removeProtocolMapper, removeRedirectUri, removeWebOrigin, setAttribute, setEnabled, setFrontchannelLogout, setFullScopeAllowed, setNotBefore, setProtocol, setPublicClient, setRedirectUris, setSecret, setWebOrigins, updateIdentityProviders, updateProtocolMapper, validateSecret
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProtocolMapper, addRedirectUri, addScopeMapping, addWebOrigin, deleteScopeMapping, getAttribute, getAttributes, getClientId, getId, getIdentityProviders, getNotBefore, getProtocol, getProtocolMapperById, getProtocolMapperByName, getProtocolMappers, getRealm, getRealmScopeMappings, getRedirectUris, getScopeMappings, getSecret, getWebOrigins, hasScope, isAllowedRetrieveTokenFromIdentityProvider, isEnabled, isFrontchannelLogout, isFullScopeAllowed, isPublicClient, removeAttribute, removeProtocolMapper, removeRedirectUri, removeWebOrigin, setAttribute, setEnabled, setFrontchannelLogout, setFullScopeAllowed, setNotBefore, setProtocol, setPublicClient, setRedirectUris, setSecret, setWebOrigins, updateIdentityProviders, updateProtocolMapper, validateSecret
public OAuthClientAdapter(KeycloakSession session, RealmModel realm, OAuthClientEntity oauthClientEntity)
public String getName()
public void setClientId(String id)
setClientId
in interface OAuthClientModel
public boolean isDirectGrantsOnly()
isDirectGrantsOnly
in interface ClientModel
public void setDirectGrantsOnly(boolean flag)
setDirectGrantsOnly
in interface ClientModel
Copyright © 2015. All rights reserved.