mirror of
1
Fork 0
gotosocial/internal/apimodule/auth
Tobi Smethurst 32c5fd987a
Api/v1/statuses (#11)
This PR adds:
Statuses

    New status creation.
    View existing status
    Delete a status
    Fave a status
    Unfave a status
    See who's faved a status

Media

    Upload media attachment and store/retrieve it
    Upload custom emoji and store/retrieve it

Fileserver

    Serve files from storage

Testing

    Test models, testrig -- run a GTS test instance and play around with it.
2021-04-19 19:42:19 +02:00
..
README.md Api/v1/accounts (#8) 2021-04-01 20:46:45 +02:00
auth.go Api/v1/statuses (#11) 2021-04-19 19:42:19 +02:00
auth_test.go Api/v1/statuses (#11) 2021-04-19 19:42:19 +02:00
authorize.go Api/v1/statuses (#11) 2021-04-19 19:42:19 +02:00
middleware.go Api/v1/statuses (#11) 2021-04-19 19:42:19 +02:00
signin.go Api/v1/statuses (#11) 2021-04-19 19:42:19 +02:00
token.go Api/v1/accounts (#8) 2021-04-01 20:46:45 +02:00

README.md

auth

This package provides uses the GoToSocial oauth2 module (forked from go-oauth2) to provide oauth2 functionality to the GoToSocial client API.

It also provides a handler/middleware for attaching to the Gin engine for validating authenticated users.