From 0ad52e5ecd981b708195d27afceb766c141b85b3 Mon Sep 17 00:00:00 2001 From: Patrick Jones Date: Tue, 19 Jan 2021 16:50:28 -0800 Subject: [PATCH] Trying to fix authorship CLA issues. Change-Id: I80d6785fd0e1e4f69c5e47d4ab9012ef5575333c --- google/internal/externalaccount/impersonate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/google/internal/externalaccount/impersonate.go b/google/internal/externalaccount/impersonate.go index 4c22aac..98be711 100644 --- a/google/internal/externalaccount/impersonate.go +++ b/google/internal/externalaccount/impersonate.go @@ -27,6 +27,7 @@ type impersonateTokenResponse struct { ExpireTime string `json:"expireTime"` } +// impersonate performs the exchange to get a temporary service account func (ts tokenSource) impersonate() (*oauth2.Token, error) { reqBody := generateAccessTokenReq{ Lifetime: "3600s",