MCPcopy Create free account
hub / github.com/dchest/authcookie / Login

Function Login

authcookie.go:175–181  ·  view source on GitHub ↗

Login returns a valid login extracted from the given cookie and verified using the given secret key. If verification fails or the cookie expired, the function returns an empty string.

(cookie string, secret []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestLoginFunction · 0.85

Calls 1

ParseFunction · 0.85

Tested by 1

TestLoginFunction · 0.68