Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPDiscourseSSO ¶
func HTTPDiscourseSSO(w http.ResponseWriter, r *http.Request)
func HTTPOauthCallback ¶
func HTTPOauthCallback(w http.ResponseWriter, r *http.Request)
Types ¶
type IntraUser ¶
type IntraUser struct { ID int `json:"id"` Email string `json:"email"` Login string `json:"login"` DisplayName string `json:"displayname"` ImageURL string `json:"image_url"` IsStaff bool `json:"staff?"` // Which computer you're on right now //Location string `json:"location"` CursusUsers []struct { Cursus struct { ID int `json:"id"` } `json:"cursus"` } `json:"cursus_users"` Campus []struct { ID int `json:"id"` } }
Click to show internal directories.
Click to hide internal directories.