Global Login System Authentication Service


Click here for a complete list of operations.

RefreshTicket

Refreshes an authentication ticket. If a valid ticket is presented, this method will return another ticket that is valid for an extended period of time. This mechanism can be used to keep an authentication context valid for the full period of a user's contact with Turbine services. An exception will be thrown if the ticket cannot be renewed for any reason. In particular, an expired ticket will cause a TicketExpiredException to be thrown. If that happens, a Call to LoginAccount will be necessary to re-authenticate the account.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
ticket:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /GLS.AuthServer/Service.asmx HTTP/1.1
Host: gls.ddo.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.turbine.com/SE/GLS/RefreshTicket"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <RefreshTicket xmlns="http://www.turbine.com/SE/GLS">
      <ticket>string</ticket>
    </RefreshTicket>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <RefreshTicketResponse xmlns="http://www.turbine.com/SE/GLS">
      <RefreshTicketResult>string</RefreshTicketResult>
    </RefreshTicketResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /GLS.AuthServer/Service.asmx HTTP/1.1
Host: gls.ddo.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RefreshTicket xmlns="http://www.turbine.com/SE/GLS">
      <ticket>string</ticket>
    </RefreshTicket>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RefreshTicketResponse xmlns="http://www.turbine.com/SE/GLS">
      <RefreshTicketResult>string</RefreshTicketResult>
    </RefreshTicketResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /GLS.AuthServer/Service.asmx/RefreshTicket?ticket=string HTTP/1.1
Host: gls.ddo.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://www.turbine.com/SE/GLS">string</string>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /GLS.AuthServer/Service.asmx/RefreshTicket HTTP/1.1
Host: gls.ddo.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

ticket=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://www.turbine.com/SE/GLS">string</string>