# AsJwt Method

## Overloads

| [AsJwt(String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.QcsLocation.AsJwt.htm#Qlik_Sense_JsonRpc_QcsLocation_AsJwt_System_String_) |  | Configure the location to use a JSON Web Token for authentication. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.QcsLocation.AsJwt.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.QcsLocation.AsJwt.htm)

## AsJwt(String)

Configure the location to use a JSON Web Token for authentication.

### Declaration

```

          public void AsJwt(string jwt)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | jwt | The JSON Web Token |

### Implements

[IQcsLocation.AsJwt(String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsJwt.htm#Qlik_Sense_JsonRpc_IQcsLocation_AsJwt_System_String_)