package oauth1
Basic OAuth1 message signing support
This feature is not considered stable.
- Source
- oauth1.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- oauth1
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
final
case class
Consumer(key: String, secret: String) extends Product with Serializable
Representation of a Consumer key and secret
- sealed trait ProtocolParameter extends AnyRef
-
final
case class
Token(value: String, secret: String) extends Product with Serializable
Representation of an OAuth Token and Token secret
Value Members
- def mkBaseString(method: Method, uri: Uri, paramsStr: String): String
- 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]]
-
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]]
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.
- 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]]
- object ProtocolParameter