play.api.libs.oauth

OAuthCalculator

case class OAuthCalculator (consumerKey: ConsumerKey, token: RequestToken) extends AbstractOAuthConsumer with SignatureCalculator with Product with Serializable

A signature calculator for the Play WS API.

Example:

WS.url("http://example.com/protected").sign(OAuthCalculator(service, tokens)).get()
Linear Supertypes
Serializable, Product, Equals, SignatureCalculator, AbstractOAuthConsumer, OAuthConsumer, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. OAuthCalculator
  2. Serializable
  3. Product
  4. Equals
  5. SignatureCalculator
  6. AbstractOAuthConsumer
  7. OAuthConsumer
  8. Serializable
  9. AnyRef
  10. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OAuthCalculator (consumerKey: ConsumerKey, token: RequestToken)

Type Members

  1. class WSRequestAdapter extends HttpRequest

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def canEqual (arg0: Any): Boolean

    Definition Classes
    OAuthCalculator → Equals
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def collectBodyParameters (arg0: HttpRequest, arg1: HttpParameters): Unit

    Attributes
    protected[signpost]
    Definition Classes
    AbstractOAuthConsumer
    Annotations
    @throws()
  10. def collectHeaderParameters (arg0: HttpRequest, arg1: HttpParameters): Unit

    Attributes
    protected[signpost]
    Definition Classes
    AbstractOAuthConsumer
  11. def collectQueryParameters (arg0: HttpRequest, arg1: HttpParameters): Unit

    Attributes
    protected[signpost]
    Definition Classes
    AbstractOAuthConsumer
  12. def completeOAuthParameters (arg0: HttpParameters): Unit

    Attributes
    protected[signpost]
    Definition Classes
    AbstractOAuthConsumer
  13. val consumerKey : ConsumerKey

  14. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

    Definition Classes
    OAuthCalculator → Equals → AnyRef → Any
  16. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def generateNonce (): String

    Attributes
    protected[signpost]
    Definition Classes
    AbstractOAuthConsumer
  18. def generateTimestamp (): String

    Attributes
    protected[signpost]
    Definition Classes
    AbstractOAuthConsumer
  19. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  20. def getConsumerKey (): String

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
  21. def getConsumerSecret (): String

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
  22. def getRequestParameters (): HttpParameters

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
  23. def getToken (): String

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
  24. def getTokenSecret (): String

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
  25. def hashCode (): Int

    Definition Classes
    OAuthCalculator → AnyRef → Any
  26. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  27. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  28. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  29. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  30. def productArity : Int

    Definition Classes
    OAuthCalculator → Product
  31. def productElement (arg0: Int): Any

    Definition Classes
    OAuthCalculator → Product
  32. def productIterator : Iterator[Any]

    Definition Classes
    Product
  33. def productPrefix : String

    Definition Classes
    OAuthCalculator → Product
  34. def setAdditionalParameters (arg0: HttpParameters): Unit

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
  35. def setMessageSigner (arg0: OAuthMessageSigner): Unit

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
  36. def setSendEmptyTokens (arg0: Boolean): Unit

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
  37. def setSigningStrategy (arg0: SigningStrategy): Unit

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
  38. def setTokenWithSecret (arg0: String, arg1: String): Unit

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
  39. def sign (request: WSRequest): Unit

    Sign it.

    Sign it.

    Definition Classes
    OAuthCalculatorSignatureCalculator
  40. def sign (arg0: String): String

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
    Annotations
    @throws() @throws() @throws()
  41. def sign (arg0: Any): HttpRequest

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
    Annotations
    @throws() @throws() @throws()
  42. def sign (arg0: HttpRequest): HttpRequest

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
    Annotations
    @throws() @throws() @throws()
  43. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  44. def toString (): String

    Definition Classes
    OAuthCalculator → AnyRef → Any
  45. val token : RequestToken

  46. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  47. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  48. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  49. def wrap (request: Any): HttpRequest

    Attributes
    protected
    Definition Classes
    OAuthCalculator → AbstractOAuthConsumer

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SignatureCalculator

Inherited from AbstractOAuthConsumer

Inherited from OAuthConsumer

Inherited from Serializable

Inherited from AnyRef

Inherited from Any