Global Login System Authentication Service


Click here for a complete list of operations.

LoginAccount

Authenticates the supplied user credentials. If the supplied username and password are verified by the back-end billing system, this method will return an authentication ticket that can be used to hand off authentication status to other services (such as the game server) as well as a user profile that describes the subscriptions available to this user. Unsuccessful authentication attempts will cause an exception to be thrown which may contain information from the billing system. If that happens, either the username does not exist, or the password was incorrect. The authentication ticket that is returned is valid for a fixed period of time. If it is necessary to maintain an authentication context for longer than a few minutes, the RefreshTicket method should be used to obtain an extended ticket.

Test

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

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-auth.ddo.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.turbine.com/SE/GLS/LoginAccount"

<?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>
    <LoginAccount xmlns="http://www.turbine.com/SE/GLS">
      <username>string</username>
      <password>string</password>
      <additionalInfo>string</additionalInfo>
    </LoginAccount>
  </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>
    <LoginAccountResponse xmlns="http://www.turbine.com/SE/GLS">
      <LoginAccountResult>
        <Subscriptions>
          <GameSubscription>
            <Game>string</Game>
            <Name>string</Name>
            <Description>string</Description>
            <ProductTokens xsi:nil="true" />
            <CustomerServiceTokens xsi:nil="true" />
            <ExpirationDate>string</ExpirationDate>
            <Status>string</Status>
            <NextBillingDate>string</NextBillingDate>
            <PendingCancelDate>string</PendingCancelDate>
            <AutoRenew>string</AutoRenew>
            <BillingSystemTime>string</BillingSystemTime>
            <AdditionalInfo>string</AdditionalInfo>
          </GameSubscription>
          <GameSubscription>
            <Game>string</Game>
            <Name>string</Name>
            <Description>string</Description>
            <ProductTokens xsi:nil="true" />
            <CustomerServiceTokens xsi:nil="true" />
            <ExpirationDate>string</ExpirationDate>
            <Status>string</Status>
            <NextBillingDate>string</NextBillingDate>
            <PendingCancelDate>string</PendingCancelDate>
            <AutoRenew>string</AutoRenew>
            <BillingSystemTime>string</BillingSystemTime>
            <AdditionalInfo>string</AdditionalInfo>
          </GameSubscription>
        </Subscriptions>
        <Ticket>string</Ticket>
      </LoginAccountResult>
    </LoginAccountResponse>
  </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-auth.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>
    <LoginAccount xmlns="http://www.turbine.com/SE/GLS">
      <username>string</username>
      <password>string</password>
      <additionalInfo>string</additionalInfo>
    </LoginAccount>
  </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>
    <LoginAccountResponse xmlns="http://www.turbine.com/SE/GLS">
      <LoginAccountResult>
        <Subscriptions>
          <GameSubscription>
            <Game>string</Game>
            <Name>string</Name>
            <Description>string</Description>
            <ProductTokens xsi:nil="true" />
            <CustomerServiceTokens xsi:nil="true" />
            <ExpirationDate>string</ExpirationDate>
            <Status>string</Status>
            <NextBillingDate>string</NextBillingDate>
            <PendingCancelDate>string</PendingCancelDate>
            <AutoRenew>string</AutoRenew>
            <BillingSystemTime>string</BillingSystemTime>
            <AdditionalInfo>string</AdditionalInfo>
          </GameSubscription>
          <GameSubscription>
            <Game>string</Game>
            <Name>string</Name>
            <Description>string</Description>
            <ProductTokens xsi:nil="true" />
            <CustomerServiceTokens xsi:nil="true" />
            <ExpirationDate>string</ExpirationDate>
            <Status>string</Status>
            <NextBillingDate>string</NextBillingDate>
            <PendingCancelDate>string</PendingCancelDate>
            <AutoRenew>string</AutoRenew>
            <BillingSystemTime>string</BillingSystemTime>
            <AdditionalInfo>string</AdditionalInfo>
          </GameSubscription>
        </Subscriptions>
        <Ticket>string</Ticket>
      </LoginAccountResult>
    </LoginAccountResponse>
  </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/LoginAccount?username=string&password=string&additionalInfo=string HTTP/1.1
Host: gls-auth.ddo.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<UserProfile xmlns="http://www.turbine.com/SE/GLS">
  <Subscriptions>
    <GameSubscription>
      <Game>string</Game>
      <Name>string</Name>
      <Description>string</Description>
      <ProductTokens>
        <string>string</string>
        <string>string</string>
      </ProductTokens>
      <CustomerServiceTokens>
        <string>string</string>
        <string>string</string>
      </CustomerServiceTokens>
      <ExpirationDate>string</ExpirationDate>
      <Status>string</Status>
      <NextBillingDate>string</NextBillingDate>
      <PendingCancelDate>string</PendingCancelDate>
      <AutoRenew>string</AutoRenew>
      <BillingSystemTime>string</BillingSystemTime>
      <AdditionalInfo>string</AdditionalInfo>
    </GameSubscription>
    <GameSubscription>
      <Game>string</Game>
      <Name>string</Name>
      <Description>string</Description>
      <ProductTokens>
        <string>string</string>
        <string>string</string>
      </ProductTokens>
      <CustomerServiceTokens>
        <string>string</string>
        <string>string</string>
      </CustomerServiceTokens>
      <ExpirationDate>string</ExpirationDate>
      <Status>string</Status>
      <NextBillingDate>string</NextBillingDate>
      <PendingCancelDate>string</PendingCancelDate>
      <AutoRenew>string</AutoRenew>
      <BillingSystemTime>string</BillingSystemTime>
      <AdditionalInfo>string</AdditionalInfo>
    </GameSubscription>
  </Subscriptions>
  <Ticket>string</Ticket>
</UserProfile>

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/LoginAccount HTTP/1.1
Host: gls-auth.ddo.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

username=string&password=string&additionalInfo=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<UserProfile xmlns="http://www.turbine.com/SE/GLS">
  <Subscriptions>
    <GameSubscription>
      <Game>string</Game>
      <Name>string</Name>
      <Description>string</Description>
      <ProductTokens>
        <string>string</string>
        <string>string</string>
      </ProductTokens>
      <CustomerServiceTokens>
        <string>string</string>
        <string>string</string>
      </CustomerServiceTokens>
      <ExpirationDate>string</ExpirationDate>
      <Status>string</Status>
      <NextBillingDate>string</NextBillingDate>
      <PendingCancelDate>string</PendingCancelDate>
      <AutoRenew>string</AutoRenew>
      <BillingSystemTime>string</BillingSystemTime>
      <AdditionalInfo>string</AdditionalInfo>
    </GameSubscription>
    <GameSubscription>
      <Game>string</Game>
      <Name>string</Name>
      <Description>string</Description>
      <ProductTokens>
        <string>string</string>
        <string>string</string>
      </ProductTokens>
      <CustomerServiceTokens>
        <string>string</string>
        <string>string</string>
      </CustomerServiceTokens>
      <ExpirationDate>string</ExpirationDate>
      <Status>string</Status>
      <NextBillingDate>string</NextBillingDate>
      <PendingCancelDate>string</PendingCancelDate>
      <AutoRenew>string</AutoRenew>
      <BillingSystemTime>string</BillingSystemTime>
      <AdditionalInfo>string</AdditionalInfo>
    </GameSubscription>
  </Subscriptions>
  <Ticket>string</Ticket>
</UserProfile>