Class OAuth1Secrets
java.lang.Object
org.glassfish.jersey.oauth1.signature.OAuth1Secrets
Contains the secrets used to generate and/or verify signatures.
- Author:
- Paul C. Bryan <pbryan@sun.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
consumerSecret
(String consumerSecret) Builder pattern method to returnOAuth1Secrets
after setting consumer secret.Returns the consumer secret.Returns request or access token.void
setConsumerSecret
(String consumerSecret) void
setTokenSecret
(String tokenSecret) Sets request or access token.tokenSecret
(String tokenSecret) Builder pattern method to returnOAuth1Secrets
after setting consumer secret.
-
Constructor Details
-
OAuth1Secrets
public OAuth1Secrets()
-
-
Method Details
-
getConsumerSecret
Returns the consumer secret. -
setConsumerSecret
-
consumerSecret
Builder pattern method to returnOAuth1Secrets
after setting consumer secret.- Parameters:
consumerSecret
- the consumer secret.
-
getTokenSecret
Returns request or access token. -
setTokenSecret
Sets request or access token. -
tokenSecret
Builder pattern method to returnOAuth1Secrets
after setting consumer secret.- Parameters:
tokenSecret
- the token secret.
-
clone
-