Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CookieName is used in web browser to store the berear token received from // the OAuth2 server. CookieName = "kg-bearer-session-code" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuth ¶
OAuth holds information required for serving files.
func (*OAuth) Callback ¶
func (o *OAuth) Callback(w http.ResponseWriter, r *http.Request)
Callback handle callbacs from OAuth2 authtorization server.
Click to show internal directories.
Click to hide internal directories.