Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
NewService returns a new middleware service configured with the given provider
Types ¶
type Service ¶
type Service interface {
Login(username, password string) (*models.TokenReviewRequest, error)
Authenticate(bearerToken string) (*models.TokenReviewRequest, error)
}
Service represents the middleware used by authproxy
Click to show internal directories.
Click to hide internal directories.