public class OAuthAccessToken extends Object
| Constructor and Description |
|---|
OAuthAccessToken(Config config) |
OAuthAccessToken(Config config,
SignerFactory signerFactory) |
| Modifier and Type | Method and Description |
|---|---|
OAuthAccessToken |
build() |
OAuthAccessToken |
build(String verifier,
String tempToken,
String tempTokenSecret) |
boolean |
execute() |
String |
getAdvice() |
HashMap<String,String> |
getAll() |
String |
getProblem() |
String |
getSessionHandle() |
String |
getToken() |
String |
getTokenSecret() |
String |
getTokenTimestamp() |
boolean |
isStale(String timestamp) |
Boolean |
isSuccess() |
void |
setSessionHandle(String sessionHandle) |
void |
setToken(String token) |
void |
setTokenSecret(String secret) |
public OAuthAccessToken(Config config)
public OAuthAccessToken(Config config, SignerFactory signerFactory)
public OAuthAccessToken build(String verifier, String tempToken, String tempTokenSecret) throws IOException
IOExceptionpublic OAuthAccessToken build() throws IOException
IOExceptionpublic boolean execute()
throws IOException
IOExceptionpublic void setToken(String token)
public String getToken()
public void setTokenSecret(String secret)
public String getTokenSecret()
public Boolean isSuccess()
public String getProblem()
public String getAdvice()
public void setSessionHandle(String sessionHandle)
public String getSessionHandle()
public String getTokenTimestamp()
public boolean isStale(String timestamp)
Copyright © 2019. All rights reserved.