-
Notifications
You must be signed in to change notification settings - Fork 0
Authentication
Badbird5907 edited this page Sep 15, 2022
·
6 revisions
Note: Most of this (authentication) info from tylertian123/pytdsbconnects/
Send requests with the Content-Type: x-www-form-urlencoded
header unless noted.
Path: /token
POST
Body:
key | value |
---|---|
username | <9 digit student id #> |
password | <password> |
grant_type | password |
Description:
Returns a bearer access token to send with all authenticated requests. Along with a refresh token, its creation & expiry timestamp.
The refresh token expiry (refresh_token_expires_in
) is in unix epoch seconds.
Path: /token
POST
Body:
key | value |
---|---|
refresh_token | refresh token returned on login |
grant_type | refresh_token |