-
Notifications
You must be signed in to change notification settings - Fork 1
Get User Auth Token
Yongsung Heo edited this page Apr 19, 2019
·
3 revisions
Request user authentication token used for calling server APIs. If user is registered and valid user, server will return the Bearer authentication token.
- URL :
/api/v1/auth/login - Method :
POST
No header is required.
| Name | Type | Description |
|---|---|---|
| string | required. Email which is registered in server. | |
| passwordHash | string | required. |
| Name | Type | Description |
|---|---|---|
| token | string | essential. Viaggio authentication token. |
| AWS_IdentityId | string | essential. |
| AWS_Token | string | essential. |
POST /api/v1/auth/login
{
"token": "VIAGGIO_AUTH_TOKEN_STRING",
"AWS_IdentityId": "DIFFICULT_STRING",
"AWS_Token": "DIFFICULT_STRING"
}