{"modulePath":"github.com/devfans/gogs","version":"v0.11.53","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package auth\n\n## Functions\n\n```go\nfunc IsAPIPath(url string) bool\n```\n\n```go\nfunc SignedInID(c *macaron.Context, sess session.Store) int64\n```\nSignedInID returns the id of signed in user.\n\n```go\nfunc SignedInUser(ctx *macaron.Context, sess session.Store) (*models.User, bool)\n```\nSignedInUser returns the user object of signed user. It returns a bool value to indicate whether user uses basic auth or not.\n\n","path":"github.com/devfans/gogs/pkg/auth","name":"auth","synopsis":"","isRedistributable":true}
