public class Credentials extends Object
| Constructor and Description |
|---|
Credentials(String consumerKey,
String consumerSecret,
String token,
String tokenSecret)
Initialises new instance with specified values.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConsumerKey() |
String |
getConsumerSecret() |
String |
getToken() |
String |
getTokenSecret() |
void |
reset()
Resets access token key/secret to the initial ones.
|
void |
set(String token,
String tokenSecret)
Sets new access token key/secret.
|
public Credentials(String consumerKey, String consumerSecret, String token, String tokenSecret)
consumerKey - Consumer key.consumerSecret - Consumer secret.token - Token key. This can be null if we are going to log in into Bynder through the
browser.tokenSecret - Token secret. This can be null if we are going to log in into Bynder
through the browser.Copyright © 2018. All rights reserved.