View definition

(*Config).TokenSource

Defined in github.com/golang/oauth2/oauth2.go

Description

TokenSource returns a TokenSource that returns t until t expires, automatically refreshing it as necessary using the provided context.

Most users will use Config.Client instead.