MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / IsNoop

Method IsNoop

api/pkg/entities/auth_context.go:14–16  ·  view source on GitHub ↗

IsNoop checks if a user is empty

()

Source from the content-addressed store, hash-verified

12
13// IsNoop checks if a user is empty
14func (user AuthContext) IsNoop() bool {
15 return user.ID == "" || user.Email == ""
16}

Callers 3

LoadAuthContextMethod · 0.95
AuthenticatedFunction · 0.80
userFromContextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected