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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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