spelling: reuse

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2020-12-19 22:01:55 -05:00
parent 8476e5acc0
commit 791ad900cb

View file

@ -204,7 +204,7 @@ func (c *microsoftConnector) HandleCallback(s connector.Scopes, r *http.Request)
type tokenNotifyFunc func(*oauth2.Token) error type tokenNotifyFunc func(*oauth2.Token) error
// notifyRefreshTokenSource is essentially `oauth2.ResuseTokenSource` with `TokenNotifyFunc` added. // notifyRefreshTokenSource is essentially `oauth2.ReuseTokenSource` with `TokenNotifyFunc` added.
type notifyRefreshTokenSource struct { type notifyRefreshTokenSource struct {
new oauth2.TokenSource new oauth2.TokenSource
mu sync.Mutex // guards t mu sync.Mutex // guards t