Documentation
¶
Overview ¶
Package session handles user sessions.
Index ¶
Constants ¶
View Source
const (
// session cookie stores the session token
SessionCookie = "session"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
Client AuthenticatorClient
}
Authenticator authenticates requests to the UI.
func (*Authenticator) Authenticate ¶
func (a *Authenticator) Authenticate(w http.ResponseWriter, r *http.Request) (authz.Subject, error)
type AuthenticatorClient ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(logger logr.Logger, client SessionClient) *Service
func (*Service) StartSession ¶
Click to show internal directories.
Click to hide internal directories.