Browse Source

Added OAuth2 Application endpoints

Bruce Marriner 8 years ago
parent
commit
798640ecf7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      endpoints.go

+ 4 - 0
endpoints.go

@@ -85,4 +85,8 @@ var (
 	INTEGRATIONS_JOIN = func(iID string) string { return API + "integrations/" + iID + "/join" }
 
 	EMOJI = func(eID string) string { return API + "emojis/" + eID + ".png" }
+
+	OAUTH2       = API + "oauth2/"
+	APPLICATIONS = OAUTH2 + "applications"
+	APPLICATION  = func(aID string) string { return APPLICATIONS + "/" + aID }
 )