Popularity
3.9
Declining
Activity
0.0
Stable
21
2
5

Monthly Downloads: 1,394
Programming language: Elixir
License: MIT License
Tags: REST And API    
Latest version: v1.3.0

signaturex alternatives and similar packages

Based on the "REST and API" category

Do you think we are missing an alternative of signaturex or a related project?

Add another 'REST and API' Package

README

Signaturex Build Status

Simple key/secret based authentication for APIs (documentation).

Totally based on https://github.com/mloughran/signature

Usage

You will need Elixir ~> 1.5 and Erlang ~> 20.0

Client side:

params = %{ q: "asdaf" }
signed_params = Signaturex.sign("key", "secret", :put, "/some/path", params)
params = Map.merge(signed_params, params)
query_string = URI.encode_query(params)
HTTPsomething.put("/some/path?" <> query_string)

Server side:

Signaturex.validate("key", "secret", :put, "/some/path", params) # Will return true or false