forked from Mirrors/oauth2
Update example_test.go
This commit is contained in:
parent
e4caaa9222
commit
63894e5681
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue