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()
Source
OAuth.scala
Linear Supertypes
Serializable, Product, Equals, SignatureCalculator, AbstractOAuthConsumer, OAuthConsumer, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OAuthCalculator
  2. Serializable
  3. Product
  4. Equals
  5. SignatureCalculator
  6. AbstractOAuthConsumer
  7. OAuthConsumer
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Type Members

  1. class WSRequestAdapter extends HttpRequest

Value Members

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

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

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

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

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

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

    Attributes
    protected[oauth.signpost]
    Definition Classes
    AbstractOAuthConsumer
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def getConsumerKey(): String

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

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

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

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

    Definition Classes
    AbstractOAuthConsumer → OAuthConsumer
  23. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def setAdditionalParameters(arg0: HttpParameters): Unit

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

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

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

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

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

    Sign it.

    Sign it.

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

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

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

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

    Definition Classes
    AnyRef
  37. val token: RequestToken

  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  41. def wrap(request: Any): HttpRequest

    Attributes
    protected
    Definition Classes
    OAuthCalculator → AbstractOAuthConsumer

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

Ungrouped