Package

org.http4s.client

oauth1

Permalink

package oauth1

Basic OAuth1 message signing support

This feature is not considered stable.

Linear Supertypes
AnyRef, Any
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

    Permalink

    Representation of a Consumer key and secret

  2. sealed trait ProtocolParameter extends AnyRef

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

    Permalink

    Representation of an OAuth Token and Token secret

Value Members

  1. object ProtocolParameter

    Permalink
  2. def mkBaseString(method: Method, uri: Uri, paramsStr: String): String

    Permalink
  3. 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: MonadError[F, Throwable], W: EntityDecoder[F, UrlForm]): F[Request[F]]

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

    Permalink

    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.

  5. 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]]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped