Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TomDoesTech/GOTTH
/ GetTwNonce
Function
GetTwNonce
internal/middleware/middleware.go:98–101 ·
view source on GitHub ↗
(ctx context.Context)
Source
from the content-addressed store, hash-verified
96
}
97
98
func
GetTwNonce(ctx context.Context) string {
99
nonceSet := GetNonces(ctx)
100
return
nonceSet.Tw
101
}
102
103
type
AuthMiddleware
struct
{
104
sessionStore store.SessionStore
Callers
2
header
Function · 0.92
TestCSPMiddleware
Function · 0.85
Calls
1
GetNonces
Function · 0.85
Tested by
1
TestCSPMiddleware
Function · 0.68