Packages

package oauth1

Basic OAuth1 message signing support

This feature is not considered stable.

Source
oauth1.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. oauth1
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Consumer(key: String, secret: String) extends Product with Serializable

    Representation of a Consumer key and secret

  2. sealed trait ProtocolParameter extends AnyRef
  3. trait SignatureAlgorithm extends AnyRef

    Implementations for Oauth1 signatures.

  4. final case class Token(value: String, secret: String) extends Product with Serializable

    Representation of an OAuth Token and Token secret

Value Members

  1. def mkBaseString(method: Method, uri: Uri, paramsStr: String): String
  2. def signRequest[F[_]](req: Request[F], consumer: oauth1.ProtocolParameter.Consumer, token: Option[oauth1.ProtocolParameter.Token], realm: Option[Realm], signatureMethod: SignatureMethod = ProtocolParameter.SignatureMethod(), timestampGenerator: F[Timestamp], version: Version = Version(), nonceGenerator: F[Nonce], callback: Option[oauth1.ProtocolParameter.Callback] = None, verifier: Option[Verifier] = None)(implicit F: MonadThrow[F], W: EntityDecoder[F, UrlForm]): F[Request[F]]
  3. def takeSigHeaders[F[_]](consumer: oauth1.ProtocolParameter.Consumer, token: Option[oauth1.ProtocolParameter.Token], signatureMethod: SignatureMethod, timestampGenerator: F[Timestamp], version: Version, nonceGenerator: F[Nonce], callback: Option[oauth1.ProtocolParameter.Callback], verifier: Option[Verifier])(implicit arg0: Monad[F]): F[Seq[ProtocolParameter]]
  4. object HmacSha1 extends SignatureAlgorithm

    An implementation of the HMAC-SHA1 oauth signature method.

    An implementation of the HMAC-SHA1 oauth signature method.

    This uses the HmacSHA1 implementation which every java platform is required to have.

  5. object HmacSha256 extends SignatureAlgorithm

    An implementation of the HMAC-SHA256 oauth signature method.

    An implementation of the HMAC-SHA256 oauth signature method.

    This uses the HmacSHA256 implementation which every java platform is required to have.

  6. object HmacSha512 extends SignatureAlgorithm

    An implementation of the HMAC-SHA512 oauth signature method.

    An implementation of the HMAC-SHA512 oauth signature method.

    WARNING - This uses the HmacSHA512 implementation which is *not* required to be present by the Java spec. (However, most modern Java runtimes tend to have it)

  7. object ProtocolParameter
  8. object SignatureAlgorithm

Deprecated Value Members

  1. def signRequest[F[_]](req: Request[F], consumer: Consumer, callback: Option[Uri], verifier: Option[String], token: Option[Token])(implicit F: MonadThrow[F], W: EntityDecoder[F, UrlForm]): F[Request[F]]

    Sign the request with an OAuth Authorization header

    Sign the request with an OAuth Authorization header

    WARNING: POST requests with application/x-www-form-urlencoded bodies will be entirely buffered due to signing requirements.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.22.3) Preserved for binary compatibility - use the other signRequest function which passes a signature method

Inherited from AnyRef

Inherited from Any

Ungrouped