Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { Gatekeeper Gatekeeper Provider Provider }
type Gatekeeper ¶
type Gatekeeper struct {
// contains filtered or unexported fields
}
func (Gatekeeper) CheckAuth ¶
func (g Gatekeeper) CheckAuth(req *http.Request) (*authinterface.AuthSuccessInfo, error)
func (Gatekeeper) DemandAuth ¶
func (g Gatekeeper) DemandAuth(w http.ResponseWriter) error
func (Gatekeeper) GatekeeperDescription ¶
func (g Gatekeeper) GatekeeperDescription() string
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (Provider) MakeAuthHeaders ¶
func (p Provider) MakeAuthHeaders(ctx authinterface.RequestContext) (map[string]string, error)
Click to show internal directories.
Click to hide internal directories.