Show / Hide Table of Contents

Class OneComputePlatformClientAuthenticatorNative

The specialized authenticator when using "native/interactive" authentication flow and the client application has already acquired the access token.

Inheritance
System.Object
OneComputePlatformClientAuthenticatorBase
OneComputePlatformClientAuthenticatorNative
Inherited Members
OneComputePlatformClientAuthenticatorBase.OcpBaseUrl
OneComputePlatformClientAuthenticatorBase.EnableAuthenticationLogging
OneComputePlatformClientAuthenticatorBase.LogAndThrowAuthenticationFailure(String)
OneComputePlatformClientAuthenticatorBase.Log(String)
Namespace: DNVGL.One.Compute.Platform.Client.Extensions
Assembly: DNVGL.One.Compute.Platform.Client.Extensions.dll
Syntax
public class OneComputePlatformClientAuthenticatorNative : OneComputePlatformClientAuthenticatorBase

Constructors

View Source

OneComputePlatformClientAuthenticatorNative(String, String)

Initializes a new instance of the OneComputePlatformClientAuthenticatorNative class.

Declaration
public OneComputePlatformClientAuthenticatorNative(string ocpBaseUrl, string accessToken)
Parameters
Type Name Description
System.String ocpBaseUrl

The OneCompute REST API URL (base address).

System.String accessToken

The (client acquired) access token.

Methods

View Source

GetAccessTokenAsync()

Declaration
public override async Task<string> GetAccessTokenAsync()
Returns
Type Description
Task<System.String>
Overrides
OneComputePlatformClientAuthenticatorBase.GetAccessTokenAsync()
  • View Source
In This Article
Back to top Copyright © DNV AS. All rights reserved.