Class OneComputePlatformClientAuthenticatorNative
The specialized authenticator when using "native/interactive" authentication flow and the client application has already acquired the access token.
Inheritance
System.Object
OneComputePlatformClientAuthenticatorNative
Inherited Members
Namespace: DNVGL.One.Compute.Platform.Client.Extensions
Assembly: DNVGL.One.Compute.Platform.Client.Extensions.dll
Syntax
public class OneComputePlatformClientAuthenticatorNative : OneComputePlatformClientAuthenticatorBase
Constructors
View SourceOneComputePlatformClientAuthenticatorNative(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 SourceGetAccessTokenAsync()
Declaration
public override async Task<string> GetAccessTokenAsync()
Returns
| Type | Description |
|---|---|
| Task<System.String> |