Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticated ¶
Authenticated returns true if the user is successfully authenticated, in the call trace following SSOWrapper.Wrap.
func Groups ¶
Groups returns the group list for the currently authenticated user.
Types ¶
type SSOWrapper ¶
type SSOWrapper struct {
EnableCORS bool
SameSite http.SameSite
// contains filtered or unexported fields
}
SSOWrapper protects http handlers with single-sign-on authentication.
Source Files
¶
- handler.go
Click to show internal directories.
Click to hide internal directories.