HmacSha1

org.http4s.client.oauth1.HmacSha1
object HmacSha1 extends SignatureAlgorithm

An implementation of the HMAC-SHA1 oauth signature method.

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

Attributes

Source
SignatureAlgorithm.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HmacSha1.type

Members list

Value members

Concrete methods

override def generate[F[_] : Async](input: String, secretKey: String): F[String]

Apply the implementation's algorithm to the input

Apply the implementation's algorithm to the input

Value parameters

input

The input value

secretKey

The secret key

Attributes

Returns

The base64-encoded output

Definition Classes
Source
SignatureAlgorithm.scala

Concrete fields

override val name: String

Attributes

Returns

The signature method name per the oauth1.0 spec

Source
SignatureAlgorithm.scala