MCPcopy Create free account
hub / github.com/netlify/gotrue / unauthorizedError

Function unauthorizedError

api/errors.go:70–72  ·  view source on GitHub ↗
(fmtString string, args ...interface{})

Source from the content-addressed store, hash-verified

68}
69
70func unauthorizedError(fmtString string, args ...interface{}) *HTTPError {
71 return httpError(http.StatusUnauthorized, fmtString, args...)
72}
73
74func forbiddenError(fmtString string, args ...interface{}) *HTTPError {
75 return httpError(http.StatusForbidden, fmtString, args...)

Callers 6

requireAdminMethod · 0.85
extractBearerTokenMethod · 0.85
parseJWTClaimsMethod · 0.85
LogoutMethod · 0.85
UserUpdateMethod · 0.85

Calls 1

httpErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…