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