POST api/token
Request Information
URI Parameters
None.
Body Parameters
TokenLoginName | Description | Type | Additional information |
---|---|---|---|
UserName |
|
string |
Required |
Password |
|
string |
Required |
Grant_Type |
GrantType must be "password" |
string |
Required |
Request Formats
Sample:
username=demo&password=demo&grant_type=password
Response Information
Resource Description
TokenResultName | Description | Type | Additional information |
---|---|---|---|
access_token |
|
string |
None. |
token_type |
|
string |
None. |
expires_in |
|
int |
None. |
Response Formats
Sample:
{ "access_token": "xYIgqEWPqnbdDNaCJJ6qTtRzTUoezvPeu_SVp...", "token_type": "bearer", "expires_in": 7199 }