You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/rappytv/globaltags/wrapper/enums/AuthProvider.java
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,14 @@
5
5
*/
6
6
publicenumAuthProvider {
7
7
/**
8
-
* The Bearer auth provider is used to authenticate with GlobalTag's own Bearer tokens. At the moment the only way to receive one is by contacting the Database admin. See <a href="https://github.com/Global-Tags/API/blob/master/src/auth/providers/ApiKeyProvider.ts">ApiKeyProvider.ts</a>
8
+
* @deprecated Use {@link #API_KEY} instead
9
9
*/
10
+
@Deprecated
10
11
BEARER("Bearer"),
12
+
/**
13
+
* The Bearer auth provider is used to authenticate with GlobalTag's own Bearer tokens. At the moment the only way to receive one is by contacting the Database admin. See <a href="https://github.com/Global-Tags/API/blob/master/src/auth/providers/ApiKeyProvider.ts">ApiKeyProvider.ts</a>
14
+
*/
15
+
API_KEY("Bearer"),
11
16
/**
12
17
* The Yggdrasil auth provider is used to authenticate with Minecraft session tokens. These can be obtained by the Minecraft session provider. See <a href="https://github.com/Global-Tags/API/blob/master/src/auth/providers/YggdrasilProvider.ts">YggdrasilProvider.ts</a>
0 commit comments