Class OneComputePlatformServiceClient
Extensions to OneComputePlatformClient for service clients.
Inheritance
System.Object
OneComputePlatformServiceClient
Namespace: DNVGL.One.Compute.Platform.Client.Extensions
Assembly: DNVGL.One.Compute.Platform.Client.Extensions.dll
Syntax
public static class OneComputePlatformServiceClient : object
Methods
View SourceCreateServiceClient(String, String, String, OneComputePlatformServiceClient.ServiceRegistryConfiguration)
Creates a
Declaration
public static Task<IOneComputePlatformClient> CreateServiceClient(string ocpApiUri, string clientId, string clientSecret, OneComputePlatformServiceClient.ServiceRegistryConfiguration serviceRegistryConfiguration = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | ocpApiUri | URI to the OneCompute Platform web API service. |
System.String | clientId | The client identifier. |
System.String | clientSecret | The client secret. |
OneComputePlatformServiceClient.ServiceRegistryConfiguration | serviceRegistryConfiguration | A custom service registry configuration (optional). |
Returns
Type | Description |
---|---|
Task<IOneComputePlatformClient> | An |