diff --git a/google/downscope/downscoping.go b/google/downscope/downscoping.go index c1a6a8f..52d21d2 100644 --- a/google/downscope/downscoping.go +++ b/google/downscope/downscoping.go @@ -92,7 +92,7 @@ type downscopingTokenSource struct { } // NewTokenSource returns an empty downscopingTokenSource. -func NewTokenSource(ctx context.Context, conf DownscopingConfig) downscopingTokenSource { +func NewTokenSource(ctx context.Context, conf DownscopingConfig) oauth2.TokenSource { return downscopingTokenSource{ctx: ctx, config: conf} }