public class OAuthWebViewData extends Object
| Constructor and Description |
|---|
OAuthWebViewData(OAuthDataController oAuthDataController)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
buildUrl()
build the oauth URI.
|
String |
getClientId() |
String |
getClientSecret() |
String |
getHost() |
String |
getOptionalState() |
String |
getRedirectUrl() |
String |
getResponseType() |
String |
getScheme() |
String |
getUrlPath() |
void |
setOptionalState(String optionalState) |
void |
setRedirectUrl(String url) |
public OAuthWebViewData(OAuthDataController oAuthDataController)
redirectUrl - redirection urlclientId - client idclientSecret - client secretresponseType - response type, currently only supports #CODE_RESPONSEscheme - scheme for oauthhost - host for oauthpublic String getOptionalState()
public void setOptionalState(String optionalState)
optionalState - the optionalState to setpublic String getRedirectUrl()
public void setRedirectUrl(String url)
public String getClientId()
public String getResponseType()
public String getScheme()
public String getHost()
public String getUrlPath()
public String getClientSecret()
public URI buildUrl() throws URISyntaxException
URISyntaxException - exceptionCopyright © 2014. All Rights Reserved.