Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CookieManager ¶
type CookieManager interface { SetAuthTokenCookie(w http.ResponseWriter, userID, sessionID string, extraClaims map[string]string) error ClearCookies(w http.ResponseWriter) error }
type EventRecorder ¶
type EventRecorder interface {
Record(string)
}
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg Config, er EventRecorder, cm CookieManager) (*Provider, error)
func (*Provider) HandleCallback ¶
func (p *Provider) HandleCallback(w http.ResponseWriter, req *http.Request)
func (*Provider) RequestLogin ¶
Click to show internal directories.
Click to hide internal directories.