Package org.keycloak
Class AbstractOAuthClient
- java.lang.Object
-
- org.keycloak.AbstractOAuthClient
-
public class AbstractOAuthClient extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected StringauthUrlprotected StringclientIdprotected Map<String,Object>credentialsprotected booleanisSecureprotected booleanpublicClientprotected RelativeUrlsUsedrelativeUrlsUsedprotected Stringscopeprotected StringstateCookieNameprotected StringstateCookiePathprotected StringtokenUrl
-
Constructor Summary
Constructors Constructor Description AbstractOAuthClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthUrl()StringgetClientId()Map<String,Object>getCredentials()RelativeUrlsUsedgetRelativeUrlsUsed()StringgetScope()protected StringgetStateCode()StringgetStateCookieName()StringgetStateCookiePath()StringgetTokenUrl()booleanisPublicClient()booleanisSecure()voidsetAuthUrl(String authUrl)voidsetClientId(String clientId)voidsetCredentials(Map<String,Object> credentials)voidsetPublicClient(boolean publicClient)voidsetRelativeUrlsUsed(RelativeUrlsUsed relativeUrlsUsed)voidsetScope(String scope)voidsetSecure(boolean secure)voidsetStateCookieName(String stateCookieName)voidsetStateCookiePath(String stateCookiePath)voidsetTokenUrl(String tokenUrl)protected StringstripOauthParametersFromRedirect(String uri)
-
-
-
Field Detail
-
clientId
protected String clientId
-
authUrl
protected String authUrl
-
tokenUrl
protected String tokenUrl
-
relativeUrlsUsed
protected RelativeUrlsUsed relativeUrlsUsed
-
scope
protected String scope
-
stateCookieName
protected String stateCookieName
-
stateCookiePath
protected String stateCookiePath
-
isSecure
protected boolean isSecure
-
publicClient
protected boolean publicClient
-
-
Method Detail
-
getStateCode
protected String getStateCode()
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getAuthUrl
public String getAuthUrl()
-
setAuthUrl
public void setAuthUrl(String authUrl)
-
getTokenUrl
public String getTokenUrl()
-
setTokenUrl
public void setTokenUrl(String tokenUrl)
-
getScope
public String getScope()
-
setScope
public void setScope(String scope)
-
getStateCookieName
public String getStateCookieName()
-
setStateCookieName
public void setStateCookieName(String stateCookieName)
-
getStateCookiePath
public String getStateCookiePath()
-
setStateCookiePath
public void setStateCookiePath(String stateCookiePath)
-
isPublicClient
public boolean isPublicClient()
-
setPublicClient
public void setPublicClient(boolean publicClient)
-
isSecure
public boolean isSecure()
-
setSecure
public void setSecure(boolean secure)
-
getRelativeUrlsUsed
public RelativeUrlsUsed getRelativeUrlsUsed()
-
setRelativeUrlsUsed
public void setRelativeUrlsUsed(RelativeUrlsUsed relativeUrlsUsed)
-
-