232
}
233
234
>
keepAliveOption := d.getClientKeepAliveConfig(primitives.FrontendService)
rpc.go
235
>
additionalDialOptions := append([]grpc.DialOption{}, d.perServiceDialOptions[primitives.FrontendService]...)
236
>
237
>
// requireRemoteClusterAuth is defense-in-depth: temporal/fx.go boot validation
238
>
// rejects (require=true, tokenProvider=nil), but RPCFactory is also constructed in
239
>
// tests where the boot path doesn't run.
240
>
if d.tokenProvider != nil || d.requireRemoteClusterAuth {
241
fetch := func(ctx context.Context) (string, error) {
242
var token string