auth icon indicating copy to clipboard operation
auth copied to clipboard

Martini handlers for authentication.

Results 4 auth issues
Sort by recently updated
recently updated
newest added

This patch adds authentication based on a passed token, contained in the `X-Token` header. It allows a login endpoint to create a token which can be passed as a header...

Based on the readme, I should be able to do something like: ``` m := martini.Classic() m.Use(auth.Basic("username", "secretpassword")) m.Run() ``` However, when serving static files via "./public" under Classic mode,...

I was able to solve this problem, using db as global variable. However, would be better if I could pass it to my callback (that today, accepts just two params...

enhancement

from @nimajalali I'm finalizing a [HMAC](http://en.wikipedia.org/wiki/Hash-based_message_authentication_code) based auth handler. Using Amazon S3 signed and authorized model, more info [here](http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html). I use it for server to server communication where a pre...