forked from remote/oauth2
go fmt
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
Package downscope implements the ability to downwcope, or restrict, the
|
Package downscope implements the ability to downwcope, or restrict, the
|
||||||
Identity and AccessManagement permissions that a short-lived Token
|
Identity and AccessManagement permissions that a short-lived Token
|
||||||
can use. Please note that only Google Cloud Storage supports this feature.
|
can use. Please note that only Google Cloud Storage supports this feature.
|
||||||
*/
|
*/
|
||||||
package downscope
|
package downscope
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -63,7 +63,6 @@ func Example() {
|
|||||||
availableResource := "//storage.googleapis.com/projects/_/buckets/foo"
|
availableResource := "//storage.googleapis.com/projects/_/buckets/foo"
|
||||||
availablePermissions := []string{"inRole:roles/storage.objectViewer"}
|
availablePermissions := []string{"inRole:roles/storage.objectViewer"}
|
||||||
|
|
||||||
|
|
||||||
// Initializes an accessBoundary
|
// Initializes an accessBoundary
|
||||||
myBoundary := AccessBoundary{make([]AccessBoundaryRule, 0)}
|
myBoundary := AccessBoundary{make([]AccessBoundaryRule, 0)}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user