glacasa / Mastonet

C# Library for Mastodon
MIT License
225 stars 37 forks source link

"Revoke a token" method is missing in Mastonet's library #101

Closed JeepNL closed 1 year ago

JeepNL commented 1 year ago

"Revoke a token" method is missing in Mastonet's library

For implementation see: https://docs.joinmastodon.org/methods/oauth/#revoke

glacasa commented 1 year ago

I added the method to the AuthenticationClient, because it needs the same client id and secret as needed for the oauth.

You can test the method on the last Nuget preview, tell me if it works :)

https://www.nuget.org/packages/Mastonet/2.3.0-preview1

JeepNL commented 1 year ago

Yup, it works! Thank you! Closing this issue.