Closed bombitmanbomb closed 3 months ago
Hey, sorry it took so long for me to get to this one. Been a lot going on to say the least ^^' It looks good, but I don't see the code for the AdminAPIToken, is that handled via the webserver code?
Yes, the controller handles all auth. [Authorize(Policy = PolicyNames.RequireAdmin)]
Non admin requests give a 401.
oh.. i also totally forgot about this one, i'm sorry. There is so much going in right now, i don't know if i have time to properly review this anytime soon
@bombitmanbomb sorry for the long time no update, but we haven't really worked on DiscordLink. Right now, we're preparing for the upcoming release of eco 10.0. So we will release DiscordLink 3.4 at some point.
Closing due to lack of response from author.
Adds basic functionality and documentation for DiscordLink to the AdminWebAPI.
All calls require the AdminAPIToken (Header
X-API-KEY
) else 401 response.