Closed Quinn-With-Two-Ns closed 1 month ago
closes https://github.com/temporalio/sdk-java/issues/1997
Add shortcut to add an api key to a connection. Instead of
WorkflowServiceStubsOptions.Builder stubOptions = WorkflowServiceStubsOptions.newBuilder() ... .addGrpcMetadataProvider( new AuthorizationGrpcMetadataProvider(() -> "Bearer " + API_KEY))
Users can now set
WorkflowServiceStubsOptions.Builder stubOptions = WorkflowServiceStubsOptions.newBuilder() ... .addApiKey( () -> API_KEY)
@cretz Is this what you had in mind as a shortcut?
Yes, this makes sense to me
closes https://github.com/temporalio/sdk-java/issues/1997
Add shortcut to add an api key to a connection. Instead of
Users can now set