Registry / auth / dchest-authcookie

dchest-authcookie

JSON →
library0.0.0-20190824115100-f900d2294c8egogounverified

A Go package for creating and verifying signed authentication cookies using HMAC-SHA256.

go get github.com/dchest/authcookie
INSTALL
IMPORT
SIG · DCHEST-AUTHCOOKIE
D
dchest-authcookie
authgov0.0.0-20190824115100-f900d2294c8e
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

authcookie
✓ github.com/dchest/authcookie

Create a signed authentication cookie.

package main import "github.com/dchest/authcookie" func main() { cookie := authcookie.New("user", time.Now().Add(24*time.Hour), []byte("secret")) _ = cookie }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190824115100-f900d2294c8elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
OpenAI (training)
1
Resources
dchest-authcookie — go get dchest-authcookie · libregistry