mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
oauth2: remove extra period
Change-Id: I369d3bed0e28427b1e1d416952c3766932ba3773 GitHub-Last-Rev: ca611fe5a361db93b76e758ec7d956b0768039e5 GitHub-Pull-Request: golang/oauth2#724 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/587017 Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Shin Fan <shinfan@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
ce56909505
commit
65c15a3514
2
token.go
2
token.go
@ -169,7 +169,7 @@ func tokenFromInternal(t *internal.Token) *Token {
|
||||
|
||||
// retrieveToken takes a *Config and uses that to retrieve an *internal.Token.
|
||||
// This token is then mapped from *internal.Token into an *oauth2.Token which is returned along
|
||||
// with an error..
|
||||
// with an error.
|
||||
func retrieveToken(ctx context.Context, c *Config, v url.Values) (*Token, error) {
|
||||
tk, err := internal.RetrieveToken(ctx, c.ClientID, c.ClientSecret, c.Endpoint.TokenURL, v, internal.AuthStyle(c.Endpoint.AuthStyle), c.authStyleCache.Get())
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user