MCPcopy Create free account
hub / github.com/gogs/gogs / GetAuthenticatedUser

Function GetAuthenticatedUser

internal/route/api/v1/user/user.go:60–62  ·  view source on GitHub ↗
(c *context.APIContext)

Source from the content-addressed store, hash-verified

58}
59
60func GetAuthenticatedUser(c *context.APIContext) {
61 c.JSONSuccess(c.User.APIFormat())
62}

Callers

nothing calls this directly

Calls 2

JSONSuccessMethod · 0.80
APIFormatMethod · 0.45

Tested by

no test coverage detected