Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMAC based auth handler #1

Open
codegangsta opened this issue Feb 8, 2014 · 0 comments
Open

HMAC based auth handler #1

codegangsta opened this issue Feb 8, 2014 · 0 comments

Comments

@codegangsta
Copy link
Member

from @nimajalali

I'm finalizing a HMAC based auth handler. Using Amazon S3 signed and authorized model, more info here.

I use it for server to server communication where a pre shared secret is possible. The handler adds to the S3 model by enabling the use of a nonce.

Should this be under the auth package, possibly auth.HMAC? If so how should I go about adding info to the auth README?

Also, any thoughts on how to incorporate multiple auth handlers? For instance I have API endpoints that are accessed from servers as well as clients. I use this HMAC auth handler to handle server to server auth and another handler for session based auth. Today I have to create two separate endpoints to enable auth from either handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant