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

AVEVA™ Work Tasks

SFU​.getClientCredentialToken()

  • Last UpdatedJul 08, 2025
  • 1 minute read

Use getClientCredentialToken() method to get the client credential token with custom scope.

Syntax

var accessToken = SFU.getClientCredentialToken();

Return Value

This method returns token value of string datatype.

Example

//Get the client credential token with custom scope.

var accessToken = SFU.getClientCredentialToken();

Note:
For Microsoft Entra provider, this method returns the token with the scope - api://<clientid>/worktasks/
For AVEVA Identity Manager provider, this method returns the token with the scope - system

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