POST api/integration/Auth0/authenticate

Request Information

URI Parameters

None.

Body Parameters

Auth0AuthenticationRequest
NameDescriptionTypeAdditional information
userName

string

None.

password

string

None.

Request Formats

application/xml, text/xml

Sample:
<Auth0AuthenticationRequest>
  <userName>sample string 1</userName>
  <password>sample string 2</password>
</Auth0AuthenticationRequest>

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "password": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'Auth0AuthenticationRequest'.

Response Information

Resource Description

Auth0AuthenticationResponse
NameDescriptionTypeAdditional information
token

string

None.

isValid

boolean

None.

Response Formats

application/xml, text/xml

Sample:
<Auth0AuthenticationResponse>
  <token>sample string 1</token>
  <isValid>True</isValid>
</Auth0AuthenticationResponse>

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "isValid": true
}