GET api/Auth?appId={appId}&secret={secret}

Authenticates an application and provides a token.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
appId

The ID of the application.

string

Required

secret

The secret for the application.

string

Required

Body Parameters

None.

Response Information

Resource Description

AppTokenModel
NameDescriptionTypeAdditional information
access_token

string

None.

token_type

string

None.

userName

string

None.

issued

string

None.

expires

string

None.

Response Formats

application/json, text/json

Sample:
{
  "access_token": "sample string 1",
  "token_type": "sample string 2",
  "userName": "sample string 3",
  "issued": "sample string 4",
  "expires": "sample string 5"
}

application/xml, text/xml

Sample:
<AppTokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISOWebAPIMySecurity">
  <access_token>sample string 1</access_token>
  <expires>sample string 5</expires>
  <issued>sample string 4</issued>
  <token_type>sample string 2</token_type>
  <userName>sample string 3</userName>
</AppTokenModel>