Show / Hide Table of Contents

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 Source

CreateServiceClient(String, String, String, OneComputePlatformServiceClient.ServiceRegistryConfiguration)

Creates a using client credentials.

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 .

  • View Source
Back to top Copyright © DNV GL AS. All rights reserved.