forked from Mirrors/oauth2
small typo fix in clientcredentials.go
Change-Id: If564daf4d164c27b2748b9c4c4ff274f3601184c Reviewed-on: https://go-review.googlesource.com/15805 Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
parent
2fbf3d7329
commit
ef4eca6b09
|
@ -66,7 +66,7 @@ type Config struct {
|
||||||
Scopes []string
|
Scopes []string
|
||||||
}
|
}
|
||||||
|
|
||||||
// Token uses client credentials to retreive a token.
|
// Token uses client credentials to retrieve a token.
|
||||||
// The HTTP client to use is derived from the context.
|
// The HTTP client to use is derived from the context.
|
||||||
// If nil, http.DefaultClient is used.
|
// If nil, http.DefaultClient is used.
|
||||||
func (c *Config) Token(ctx context.Context) (*oauth2.Token, error) {
|
func (c *Config) Token(ctx context.Context) (*oauth2.Token, error) {
|
||||||
|
|
Loading…
Reference in New Issue