MCPcopy 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
98func GetTwNonce(ctx context.Context) string {
99 nonceSet := GetNonces(ctx)
100 return nonceSet.Tw
101}
102
103type AuthMiddleware struct {
104 sessionStore store.SessionStore

Callers 2

headerFunction · 0.92
TestCSPMiddlewareFunction · 0.85

Calls 1

GetNoncesFunction · 0.85

Tested by 1

TestCSPMiddlewareFunction · 0.68