HmacSha256

org.http4s.client.oauth1.HmacSha256$

An implementation of the HMAC-SHA256 oauth signature method.

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

Attributes

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

Members list

Value members

Concrete methods

override def generate[F[_] : MonadThrow](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

Deprecated and Inherited methods

Attributes

Deprecated
true
Inherited from:
SignatureAlgorithm
Source
SignatureAlgorithm.scala

Concrete fields

override val name: String

Attributes

Returns

The signature method name per the oauth1.0 spec

Source
SignatureAlgorithm.scala