Documentation
¶
Overview ¶
Package iap contains Google Cloud IAP stuff.
Index ¶
Constants ¶
View Source
const Header string = "x-goog-iap-jwt-assertion"
Header in Google Cloud IAP request containing JWT
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
Authenticator authenticates Google IAP requests.
func NewAuthenticator ¶
func NewAuthenticator(audience string, users UserClient) *Authenticator
func (*Authenticator) Authenticate ¶
func (a *Authenticator) Authenticate(w http.ResponseWriter, r *http.Request) (authz.Subject, error)
Click to show internal directories.
Click to hide internal directories.