golang.org/x/oauth2/google.credentialsFile.Type (field)
5 uses
golang.org/x/oauth2/google (current package)
google.go#L85: if f.Type != serviceAccountKey {
google.go#L86: return nil, fmt.Errorf("google: read JWT from JSON credentials: 'type' field is %q (expected %q)", f.Type, serviceAccountKey)
google.go#L100: Type string `json:"type"` // serviceAccountKey or userCredentialsKey
google.go#L131: switch f.Type {
google.go#L147: return nil, fmt.Errorf("unknown credential type: %q", f.Type)
![]() |
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. |