# AsTicketViaProxy Method

## Overloads

| [AsTicketViaProxy(String, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.AsTicketViaProxy.htm#Qlik_Sense_JsonRpc_ILocation_AsTicketViaProxy_System_String_System_Boolean_) |  | Authenticate using an ticket retrieved from a Qlik Proxy Service (QPS). |
| --- | --- | --- |

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

## AsTicketViaProxy(String, Boolean)

Authenticate using an ticket retrieved from a Qlik Proxy Service (QPS).

### Declaration

```

          void AsTicketViaProxy(string ticket, bool certificateValidation = true)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | ticket | The ticket returned by QPS. |
| System.Boolean | certificateValidation | Indicates if invalid certificates should be ignored |