getServiceToken()
Static operation.
This operation returns a new valid authorization token for the current service. it is the same as getServiceAccountToken() but implemented as a static operation so that you do not need to create an instance of AuthService first.
You can use this token to authenticate the caller when calling other services.
The returned token is service related, not user related.
Parameters
Name  | Type  | Direction  | Description  | 
|---|---|---|---|
   | String  | return  | Returns a valid token. The token is valid for a specific period of time.  | 
Related Content
Related Pages:
getServiceAccountToken()
This operation returns a new valid authorization token for the current service.getServiceTokenBearer()
This operation returns a valid authorization token for the current service. The token is ready to use for authentication headers as it already has the "Bearer " part at the beginning.