GET api/v2.0/Authentication/GetLogin?username={username}&password={password}

Generates a Authentication Token for a given user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

password

string

Required

Body Parameters

None.

Response Information

Resource Description

AuthToken
NameDescriptionTypeAdditional information
Token

Encrypted Authentication String.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1"
}

application/xml, text/xml

Sample:
<AuthToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise">
  <Token>sample string 1</Token>
</AuthToken>