forked from Mirrors/oauth2
downscope: change return type of NewTokenSource
This commit is contained in:
parent
1024258a24
commit
1888dba9b1
|
@ -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}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue