Skip to content

whitney/gauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

gauth

HMAC HTTP authentication utils

Usage:

import (
  ....
  "github.com/OnWander/gauth"
)

func handleSomeHttpReq(res http.ResponseWriter, req *http.Request) {
  err := gauth.Authenticate(req)
  if err != nil {
    http.Error(res, err.Error(), http.StatusUnauthorized)
    return
  }

  // do other stuff...
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages