guardian / hmac-headers   2.0.0

Apache License 2.0 GitHub

Scala utility for signing and verifying HMAC signatures passed in HTTP headers

Scala versions: 2.13 2.12 2.11

hmac-headers 1.1


Group ID:
com.gu
Artifact ID:
hmac-headers_2.11
Version:
1.1
Release Date:
Nov 8, 2016
Licenses:

libraryDependencies += "com.gu" %% "hmac-headers" % "1.1"
resolvers += Resolver.bintrayJCenter

Mill build tool

ivy"com.gu::hmac-headers:1.1"
MavenRepository("https://jcenter.bintray.com")

Scala CLI

//> using dep "com.gu::hmac-headers:1.1"

Ammonite REPL

import $ivy.`com.gu::hmac-headers:1.1`
import ammonite._, Resolvers._
val res = Resolver.Http(
  "Bintray's JCenter",
  "Some(https://jcenter.bintray.com)",
  IvyPattern,
  false)
interp.resolvers() = interp.resolvers() :+ res

<dependency>
  <groupId>com.gu</groupId>
  <artifactId>hmac-headers_2.11</artifactId>
  <version>1.1</version>
</dependency>

compile group: 'com.gu', name: 'hmac-headers_2.11', version: '1.1'