Show / Hide Table of Contents

Interface IOneComputePlatformClientAuthenticator

Defines the OneCompute Platform client authenticator, which handles different authentication modes.

Namespace: DNVGL.One.Compute.Core.PlatformClient
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface IOneComputePlatformClientAuthenticator

Properties

View Source

OcpBaseUrl

Gets the OneCompute REST API URL (base address).

Declaration
string OcpBaseUrl { get; }
Property Value
Type Description
string

Methods

View Source

GetAccessTokenAsync()

Gets an access token, according to the different modes of the authenticator.

Declaration
Task<string> GetAccessTokenAsync()
Returns
Type Description
Task<string>

An access token.

Remarks

This will be called through a callback function in the "RestClientBase", upon each REST API call.

  • View Source
In this article
Back to top Copyright © DNV AS. All rights reserved.