forked from remote/oauth2
Trying to fix authorship CLA issues.
Change-Id: I80d6785fd0e1e4f69c5e47d4ab9012ef5575333c
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user