Documentation ¶
Index ¶
- Constants
- type GithubOAuth2Handler
- func (o *GithubOAuth2Handler) CallbackHandler(w http.ResponseWriter, r *http.Request)
- func (o *GithubOAuth2Handler) CredentialsHandler(w http.ResponseWriter, r *http.Request)
- func (o *GithubOAuth2Handler) LoginHandler(w http.ResponseWriter, r *http.Request)
- func (o *GithubOAuth2Handler) LogoutHandler(w http.ResponseWriter, r *http.Request)
- func (o *GithubOAuth2Handler) Middleware(h http.Handler) http.Handler
Constants ¶
View Source
const SESSION_STORE_KEY = "__sess"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubOAuth2Handler ¶
type GithubOAuth2Handler struct {
// contains filtered or unexported fields
}
func NewGithubOAuth2Handler ¶
func (*GithubOAuth2Handler) CallbackHandler ¶
func (o *GithubOAuth2Handler) CallbackHandler(w http.ResponseWriter, r *http.Request)
func (*GithubOAuth2Handler) CredentialsHandler ¶
func (o *GithubOAuth2Handler) CredentialsHandler(w http.ResponseWriter, r *http.Request)
func (*GithubOAuth2Handler) LoginHandler ¶
func (o *GithubOAuth2Handler) LoginHandler(w http.ResponseWriter, r *http.Request)
func (*GithubOAuth2Handler) LogoutHandler ¶
func (o *GithubOAuth2Handler) LogoutHandler(w http.ResponseWriter, r *http.Request)
func (*GithubOAuth2Handler) Middleware ¶
func (o *GithubOAuth2Handler) Middleware(h http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.