downscope: change return type of NewTokenSource

This commit is contained in:
Patrick Jones 2021-06-23 10:17:59 -07:00
parent 1024258a24
commit 1888dba9b1
1 changed files with 1 additions and 1 deletions

View File

@ -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}
}