public class OAuth1Secrets extends Object
Constructor and Description |
---|
OAuth1Secrets() |
Modifier and Type | Method and Description |
---|---|
OAuth1Secrets |
clone() |
OAuth1Secrets |
consumerSecret(String consumerSecret)
Builder pattern method to return
OAuth1Secrets after setting
consumer secret. |
String |
getConsumerSecret()
Returns the consumer secret.
|
String |
getTokenSecret()
Returns request or access token.
|
void |
setConsumerSecret(String consumerSecret) |
void |
setTokenSecret(String tokenSecret)
Sets request or access token.
|
OAuth1Secrets |
tokenSecret(String tokenSecret)
Builder pattern method to return
OAuth1Secrets after setting
consumer secret. |
public String getConsumerSecret()
public void setConsumerSecret(String consumerSecret)
public OAuth1Secrets consumerSecret(String consumerSecret)
OAuth1Secrets
after setting
consumer secret.consumerSecret
- the consumer secret.public String getTokenSecret()
public void setTokenSecret(String tokenSecret)
public OAuth1Secrets tokenSecret(String tokenSecret)
OAuth1Secrets
after setting
consumer secret.tokenSecret
- the token secret.public OAuth1Secrets clone()
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.