Use string enums for OAuthProviders in the API

This commit is contained in:
Jordan Brown
2020-12-07 13:14:29 -05:00
parent a7026df195
commit 36044c826c
4 changed files with 7 additions and 4 deletions
+3 -3
View File
@@ -144,9 +144,9 @@ You will be granted a bearer token as in basic auth. This will have an extended
@subsubsection api_auth_o_providers Supported Providers
- ID: 0, Name: GitHub, Documentation: https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/
- ID: 1, Name: Discord, Documentation: https://discord.com/developers/docs/topics/oauth2
- ID: 2, Name: TGForums, Documentation: https://tgstation13.org/phpBB/viewtopic.php?f=45&t=9922
- GitHub: https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/
- Discord: https://discord.com/developers/docs/topics/oauth2
- TGForums: https://tgstation13.org/phpBB/viewtopic.php?f=45&t=9922
@section api_perms Permissions