Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IDTokenTokenSource ¶
IDTokenTokenSource returns an oauth2.TokenSource that fetches an identity token.
Types ¶
type AuthTransport ¶
type AuthTransport struct { Transport http.RoundTripper Audience string }
AuthTransport is an http.RoundTripper that adds an Authorization header with an identity token.
Click to show internal directories.
Click to hide internal directories.