Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllManagers = []SessionName{COOKIES}
Functions ¶
This section is empty.
Types ¶
type SessionManager ¶
type SessionManager interface {
GetToken(req *http.Request) (*token.Token, error)
GetState(req *http.Request) (string, error)
RedirectLogin(w http.ResponseWriter, req *http.Request) error
Exchange(w http.ResponseWriter, req *http.Request, code string) error
}
func GetSessionManager ¶
Click to show internal directories.
Click to hide internal directories.