This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 145
Authentication resource
Lauren Padia edited this page Mar 22, 2017
·
3 revisions
Provides methods to authenticate users.
Endpoint | Method | Description |
---|---|---|
auth/login | POST | Authenticates user |
auth/logout | GET | Terminates user |
Authenticates a user session.
Available Version
2.0
HTTP Methods
POST
POST Request Parameters
Name | Type | Description |
---|---|---|
body | credentials | Username and password |
Example Request
{"username":"abc","password":"xyz"}
Terminates a user session.
Available Version
2.0
HTTP Methods
GET
GET Response
Result Type | Description |
---|---|
Response code | 200 |