indieweb-utils
indieweb-utils copied to clipboard
Add TicketAuth redemption functions
This PR introduces new functions for use in TicketAuth redemption:
-
send_ticket()
- Discover a ticket endpoint and send a ticket for a specified resource to the server. -
redeem_ticket()
- Makes a ticket redemption request to the token endpoint associated with a resource.
Documentation for the above functions are provided. The documentation notes these functions are experimental since TicketAuth is still in development.
There are not yet any test cases for these functions. I would like to work with someone to define what these should be.