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 | Allowed Values/Example |
---|---|---|---|---|
| String | return | Returns a valid token. The token is valid for a specific period of time. |
Related Pages: