Update example_test.go

This commit is contained in:
Patrick Jones
2021-08-04 14:43:05 -07:00
committed by GitHub
parent e4caaa9222
commit 63894e5681

View File

@@ -31,6 +31,7 @@ func ExampleNewTokenSource() {
dts, err := downscope.NewTokenSource(ctx, downscope.DownscopingConfig{RootSource: rootSource, Rules: accessBoundary})
if err != nil {
fmt.Printf("failed to generate downscoped token source: %v", err)
return
}
// Enables automatic token refreshing