Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SignedInID ¶
SignedInID returns the id of signed in user, along with one bool value which indicates whether user uses token authentication.
func SignedInUser ¶
func SignedInUser(ctx *macaron.Context, sess session.Store) (_ *models.User, isBasicAuth bool, isTokenAuth bool)
SignedInUser returns the user object of signed in user, along with two bool values, which indicate whether user uses HTTP Basic Authentication or token authentication respectively.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package ldap provide functions & structure to query a LDAP ldap directory For now, it's mainly tested again an MS Active Directory service, see README.md for more information
|
Package ldap provide functions & structure to query a LDAP ldap directory For now, it's mainly tested again an MS Active Directory service, see README.md for more information |
Click to show internal directories.
Click to hide internal directories.