Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidServiceAccountToken = errors.New("invalid service account token")
)
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func NewAuthenticator ¶
func NewAuthenticator(authToken string) *Authenticator
func (*Authenticator) AuthenticateRequest ¶
func (a *Authenticator) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error)
func (*Authenticator) SetServiceAccountValidator ¶ added in v0.21.0
func (a *Authenticator) SetServiceAccountValidator(validator ServiceAccountValidator)
Click to show internal directories.
Click to hide internal directories.