POST accounts/login

this route is for the OAuth2 authorization flow without the form login form

Request Information

URI Parameters

None.

Body Parameters

auth

Flipr.Web.Api.Controllers.JsonWrappers.Authorization
NameDescriptionTypeAdditional information
clientID

Gets or sets user Mail for password recovery

string

None.

name

Gets or sets the user login

string

None.

password

Gets or sets the new password (not hashed)

string

None.

redirectUri

Gets or sets ...

string

None.

responseType

Gets or sets the token of the user

string

None.

scope

Gets or sets the token of the user

string

None.

state

Gets or sets the token of the user

string

None.

Request Formats

application/json, text/json

Sample:
{
  "clientID": "sample string 1",
  "name": "sample string 2",
  "password": "sample string 3",
  "redirectUri": "sample string 4",
  "responseType": "sample string 5",
  "scope": "sample string 6",
  "state": "sample string 7"
}

text/html

Sample:
{"clientID":"sample string 1","name":"sample string 2","password":"sample string 3","redirectUri":"sample string 4","responseType":"sample string 5","scope":"sample string 6","state":"sample string 7"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

http action result

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.