Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Get Client Credential Token

  • Last UpdatedJun 10, 2024
  • 1 minute read

Use GetDefaultClientCredentialToken() method to return the client credential token using custom scope.

Syntax

var token = TokenServiceCommonFunctions.GetDefaultClientCredentialToken(applicationName);

Parameters

applicationName: Application Name

Return Value

This method returns token value of string datatype.

Example

//Get the default client credential token with custom scope.

var token = TokenServiceCommonFunctions.GetDefaultClientCredentialToken("applicationName");

Note: Use this function in the custom activity if the access token is required.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in