From 1888dba9b13085cf11e11fe4e41ca1bfc131995d Mon Sep 17 00:00:00 2001 From: Patrick Jones Date: Wed, 23 Jun 2021 10:17:59 -0700 Subject: [PATCH] downscope: change return type of NewTokenSource --- google/downscope/downscoping.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} }