# GetJWT Method

## Overloads

| [GetJWT(Task<String>, ILogBucket, Boolean)](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.Services.CloudNative.CloudNativeConnection.GetJWT.htm#PIX_Services_CloudNative_CloudNativeConnection_GetJWT_System_Threading_Tasks_Task_System_String__SolutionGlobal_Logging_ILogBucket_System_Boolean_) |  |  |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.CloudNative.CloudNativeConnection.GetJWT.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.CloudNative.CloudNativeConnection.GetJWT.htm)

## GetJWT(Task&lt;String&gt;, ILogBucket, Boolean)

### Declaration

```

          public Task<string> GetJWT(Task<string> serverIdTask, ILogBucket logBucket, bool useCache)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Threading.Tasks.Task&lt;System.String&gt; | serverIdTask |  |
| SolutionGlobal.Logging.ILogBucket | logBucket |  |
| System.Boolean | useCache |  |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.String&gt; |  |