forked from remote/oauth2
google: fix spelling and go fmt
Change-Id: Ifc55814018bf66d2e77752d770a51c716376cabc
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// ExchangeToken preforms a oauth2 token exchange with the provided endpoint.
|
||||
// ExchangeToken performs an oauth2 token exchange with the provided endpoint.
|
||||
// The first 4 fields are all mandatory. headers can be used to pass additional
|
||||
// headers beyond the bare minimum required by the token exchange. options can
|
||||
// be used to pass additional JSON-structured options to the remote server.
|
||||
@@ -67,7 +67,6 @@ func ExchangeToken(ctx context.Context, endpoint string, request *STSTokenExchan
|
||||
|
||||
}
|
||||
|
||||
|
||||
return &stsResp, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user