serviceAccount represents PerRPCCredentials via JWT signing key.
| 151 | |
| 152 | // serviceAccount represents PerRPCCredentials via JWT signing key. |
| 153 | type serviceAccount struct { |
| 154 | mu sync.Mutex |
| 155 | config *jwt.Config |
| 156 | t *oauth2.Token |
| 157 | } |
| 158 | |
| 159 | func (s *serviceAccount) GetRequestMetadata(ctx context.Context, _ ...string) (map[string]string, error) { |
| 160 | s.mu.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected