mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
oauth2: Remove what appears to be an out of date comment.
TokenRefresher with that capitalization is not a symbol, and SetToken doesn't occur anywhere in the package as far as I can tell. Change-Id: If61f059ed8bb1ca21e27aa99669e542160747fe7 Reviewed-on: https://go-review.googlesource.com/3958 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
53c5ae1b31
commit
7b840c3264
@ -244,8 +244,6 @@ func (tf tokenRefresher) Token() (*Token, error) {
|
||||
// and validates its expiry before each call to retrieve it with
|
||||
// Token. If it's expired, it will be auto-refreshed using the
|
||||
// new TokenSource.
|
||||
//
|
||||
// The first call to TokenRefresher must be SetToken.
|
||||
type reuseTokenSource struct {
|
||||
new TokenSource // called when t is expired.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user