Documentation ¶
Index ¶
Constants ¶
View Source
const GOOGLE_TOKEN_URL = "https://oauth2.googleapis.com/token"
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate(tokenSource oauth2.TokenSource) (token oauth2.Token, err error)
func JWTAccessTokenSourceFromJSON ¶
func JWTAccessTokenSourceFromJSON(jsonKey []byte, audience string) (oauth2.TokenSource, error)
Types ¶
type TokenResponse ¶
type TokenResponse struct {
IdToken string `json:"id_token"`
}
Click to show internal directories.
Click to hide internal directories.