public class AbstractOAuthClient extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
authUrl |
protected Client |
client |
protected String |
clientId |
protected String |
codeUrl |
protected AtomicLong |
counter |
protected String |
password |
protected String |
stateCookieName |
protected KeyStore |
truststore |
Constructor and Description |
---|
AbstractOAuthClient() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthUrl() |
Client |
getClient() |
String |
getClientId() |
String |
getCodeUrl() |
String |
getPassword() |
protected String |
getStateCode() |
String |
getStateCookieName() |
KeyStore |
getTruststore() |
String |
resolveBearerToken(String redirectUri,
String code) |
void |
setAuthUrl(String authUrl) |
void |
setClient(Client client) |
void |
setClientId(String clientId) |
void |
setCodeUrl(String codeUrl) |
void |
setPassword(String password) |
void |
setStateCookieName(String stateCookieName) |
void |
setTruststore(KeyStore truststore) |
void |
start() |
void |
stop() |
protected String |
stripOauthParametersFromRedirect(String uri) |
protected String clientId
protected String password
protected KeyStore truststore
protected String authUrl
protected String codeUrl
protected String stateCookieName
protected Client client
protected final AtomicLong counter
protected String getStateCode()
public void start()
public void stop()
public String getClientId()
public void setClientId(String clientId)
public String getPassword()
public void setPassword(String password)
public KeyStore getTruststore()
public void setTruststore(KeyStore truststore)
public String getAuthUrl()
public void setAuthUrl(String authUrl)
public String getCodeUrl()
public void setCodeUrl(String codeUrl)
public String getStateCookieName()
public void setStateCookieName(String stateCookieName)
public Client getClient()
public void setClient(Client client)
Copyright © 2013. All Rights Reserved.