Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jersey.oauth.signature
Class OAuthSecrets

    java.lang.Object
      com.sun.jersey.oauth.signature.OAuthSecrets

    public class OAuthSecrets

extends java.lang.Object

Contains the secrets used to generate and/or verify signatures.

Author:
  Paul C. Bryan

Constructor Summary
`OAuthSecrets()`

Method Summary
`OAuthSecrets` | `consumerSecret(java.lang.String consumerSecret)` Builder pattern method to return `OAuthSecrets` after setting consumer secret.
`java.lang.String` | `getConsumerSecret()` Returns the consumer secret.
`java.lang.String` | `getTokenSecret()` Returns request or access token.
`void` | `setConsumerSecret(java.lang.String consumerSecret)`
`void` | `setTokenSecret(java.lang.String tokenSecret)` Sets request or access token.
`OAuthSecrets` | `tokenSecret(java.lang.String tokenSecret)` Builder pattern method to return `OAuthSecrets` after setting consumer secret.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### OAuthSecrets

    public OAuthSecrets()

Method Detail

### getConsumerSecret

    public java.lang.String getConsumerSecret()

  Returns the consumer secret.

### setConsumerSecret

    public void setConsumerSecret(java.lang.String consumerSecret)

### consumerSecret

    public OAuthSecrets consumerSecret(java.lang.String consumerSecret)

  Builder pattern method to return `OAuthSecrets` after setting consumer secret.

  Parameters:
    `consumerSecret` - the consumer secret.

### getTokenSecret

    public java.lang.String getTokenSecret()

  Returns request or access token.

### setTokenSecret

    public void setTokenSecret(java.lang.String tokenSecret)

  Sets request or access token.

### tokenSecret

    public OAuthSecrets tokenSecret(java.lang.String tokenSecret)

  Builder pattern method to return `OAuthSecrets` after setting consumer secret.

  Parameters:
    `tokenSecret` - the token secret.

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013 Oracle Corporation. All Rights Reserved.