(ctx context.Context, token *oauth2.Token)
| 156 | } |
| 157 | |
| 158 | func (ja *Config) TokenSource(ctx context.Context, token *oauth2.Token) oauth2.TokenSource { |
| 159 | return oauth2.ReuseTokenSource(token, &jwtTokenSource{ |
| 160 | cfg: ja, |
| 161 | ctx: ctx, |
| 162 | refreshToken: token.RefreshToken, |
| 163 | }) |
| 164 | } |
| 165 | |
| 166 | type jwtTokenSource struct { |
| 167 | cfg *Config |
no outgoing calls