google.golang.org/api/internal.DialSettings.Scopes (field)
11 uses
google.golang.org/api/internal (current package)
creds.go#L37: return credentialsFromJSON(ctx, ds.CredentialsJSON, ds.Endpoint, ds.Scopes, ds.Audiences)
creds.go#L44: return credentialsFromJSON(ctx, data, ds.Endpoint, ds.Scopes, ds.Audiences)
creds.go#L49: cred, err := google.FindDefaultCredentials(ctx, ds.Scopes...)
creds.go#L54: return credentialsFromJSON(ctx, cred.JSON, ds.Endpoint, ds.Scopes, ds.Audiences)
creds.go#L121: ds.ImpersonationConfig.Scopes = ds.Scopes
settings.go#L25: Scopes []string
settings.go#L79: if len(ds.Scopes) > 0 && len(ds.Audiences) > 0 {
settings.go#L110: if ds.ImpersonationConfig != nil && len(ds.ImpersonationConfig.Scopes) == 0 && len(ds.Scopes) == 0 {
google.golang.org/api/idtoken
idtoken.go#L107: cfg, err := google.JWTConfigFromJSON(data, ds.Scopes...)
google.golang.org/api/option
option.go#L91: o.Scopes = make([]string, len(w))
option.go#L92: copy(o.Scopes, w)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |