public class AbstractOAuthClient extends Object
Modifier and Type | Field and 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 and Description |
---|
AbstractOAuthClient() |
Modifier and Type | Method and 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) |
protected String clientId
protected String authUrl
protected String tokenUrl
protected RelativeUrlsUsed relativeUrlsUsed
protected String scope
protected String stateCookieName
protected String stateCookiePath
protected boolean isSecure
protected boolean publicClient
protected String getStateCode()
public String getClientId()
public void setClientId(String clientId)
public String getAuthUrl()
public void setAuthUrl(String authUrl)
public String getTokenUrl()
public void setTokenUrl(String tokenUrl)
public String getScope()
public void setScope(String scope)
public String getStateCookieName()
public void setStateCookieName(String stateCookieName)
public String getStateCookiePath()
public void setStateCookiePath(String stateCookiePath)
public boolean isPublicClient()
public void setPublicClient(boolean publicClient)
public boolean isSecure()
public void setSecure(boolean secure)
public RelativeUrlsUsed getRelativeUrlsUsed()
public void setRelativeUrlsUsed(RelativeUrlsUsed relativeUrlsUsed)
Copyright © 2019 JBoss by Red Hat. All rights reserved.