(ctx context.Context, ts oauth2.TokenSource)
| 208 | } |
| 209 | |
| 210 | func tokenSourceClientOptions(ctx context.Context, ts oauth2.TokenSource) []option.ClientOption { |
| 211 | return []option.ClientOption{option.WithHTTPClient(&http.Client{ |
| 212 | Transport: readOnlyTransportFromContext(ctx, NewRetryTransport(&oauth2.Transport{ |
| 213 | Source: ts, |
| 214 | Base: newBaseTransport(), |
| 215 | })), |
| 216 | })} |
| 217 | } |
| 218 | |
| 219 | func optionsForAccountScopesWithStoredScopeCheck( |
| 220 | ctx context.Context, |
no test coverage detected