GetRequestMetadata gets the current request metadata, refreshing tokens if required. This should be called by the transport layer on each request, and the data should be populated in headers or other context. If a status code is returned, it will be used as the status for the RPC (restricted to an a
(ctx context.Context, uri ...string)
| 46 | // cancellation. Additionally, RequestInfo data will be available via ctx |
| 47 | // to this call. |
| 48 | GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) |
| 49 | // RequireTransportSecurity indicates whether the credentials requires |
| 50 | // transport security. |
| 51 | RequireTransportSecurity() bool |
no outgoing calls