public final class OAuth1Parameters extends ParameterMap
Modifier and Type | Field and Description |
---|---|
static OAuth1Parameters |
NONE
Shared instance for passing zero authorization parameters (common for OAuth 1.0a-based flows).
|
Constructor and Description |
---|
OAuth1Parameters()
Creates a new OAuth1Parameters map that is initially empty.
|
OAuth1Parameters(Map<String,List<String>> parameters)
Creates a new OAuth1Parameters populated from the initial parameters provided.
|
Modifier and Type | Method and Description |
---|---|
String |
getCallbackUrl()
The authorization callback url.
|
void |
setCallbackUrl(String callbackUrl)
Sets the authorization callback url.
|
add, clear, containsKey, containsValue, entrySet, get, getFirst, isEmpty, keySet, put, putAll, remove, set, setAll, size, toSingleValueMap, values
public static final OAuth1Parameters NONE
Collections.emptyMap()
public OAuth1Parameters()
public OAuth1Parameters(Map<String,List<String>> parameters)
parameters
- the initial parameterssetCallbackUrl(String)
public String getCallbackUrl()
public void setCallbackUrl(String callbackUrl)
callbackUrl
- The authorization callback url.