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 String
authUrl
protected String
clientId
protected Map<String,Object>
credentials
protected boolean
isSecure
protected boolean
publicClient
protected RelativeUrlsUsed
relativeUrlsUsed
protected String
scope
protected String
stateCookieName
protected String
stateCookiePath
protected String
tokenUrl
-
Constructor Summary
Constructors Constructor Description AbstractOAuthClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthUrl()
String
getClientId()
Map<String,Object>
getCredentials()
RelativeUrlsUsed
getRelativeUrlsUsed()
String
getScope()
protected String
getStateCode()
String
getStateCookieName()
String
getStateCookiePath()
String
getTokenUrl()
boolean
isPublicClient()
boolean
isSecure()
void
setAuthUrl(String authUrl)
void
setClientId(String clientId)
void
setCredentials(Map<String,Object> credentials)
void
setPublicClient(boolean publicClient)
void
setRelativeUrlsUsed(RelativeUrlsUsed relativeUrlsUsed)
void
setScope(String scope)
void
setSecure(boolean secure)
void
setStateCookieName(String stateCookieName)
void
setStateCookiePath(String stateCookiePath)
void
setTokenUrl(String tokenUrl)
protected String
stripOauthParametersFromRedirect(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)
-
-