Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionCheck ¶ added in v0.27.0
type AdmissionCheck struct {
// contains filtered or unexported fields
}
AdmissionCheck denies requests made by or for users who may not access Obot: disabled, deleted, or missing users. It wraps the complete authenticator chain, so it runs once per request, after authentication and before authorization, whichever credential authenticated the request.
func NewAdmissionCheck ¶ added in v0.27.0
func NewAdmissionCheck(next authenticator.Request) *AdmissionCheck
func (*AdmissionCheck) AuthenticateRequest ¶ added in v0.27.0
func (a *AdmissionCheck) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error)
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func NewAuthenticator ¶
func NewAuthenticator(authenticator authenticator.Request) *Authenticator
func (*Authenticator) Authenticate ¶
type NoAuth ¶
type NoAuth struct {
// contains filtered or unexported fields
}
func (*NoAuth) AuthenticateRequest ¶
type Token ¶ added in v0.8.0
func (*Token) AuthenticateRequest ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.