Skip to content

Commit 56c5bad

Browse files
author
Mikkel Sørensen
committed
Add admin extension to unity
1 parent 9caa082 commit 56c5bad

28 files changed

+1610
-0
lines changed

Runtime/Client/LootLockerEndPoints.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,5 +244,14 @@ public class LootLockerEndPoints
244244
public static EndPointClass reportsGetRemovedUGCForPlayer = new EndPointClass("player/ugc/removed", LootLockerHTTPMethod.GET);
245245
public static EndPointClass reportsCreatePlayer = new EndPointClass("reports/player", LootLockerHTTPMethod.POST);
246246
public static EndPointClass reportsCreateAsset = new EndPointClass("reports/asset", LootLockerHTTPMethod.POST);
247+
248+
//SDK Admin Extension
249+
[Header("Admin Extension")]
250+
public static EndPointClass adminExtensionLogin = new EndPointClass("v1/session", LootLockerHTTPMethod.POST);
251+
public static EndPointClass adminExtensionMFA = new EndPointClass("v1/2fa", LootLockerHTTPMethod.POST);
252+
public static EndPointClass adminExtensionGetAllKeys = new EndPointClass("game/{0}/api_keys", LootLockerHTTPMethod.GET);
253+
public static EndPointClass adminExtensionCreateKey = new EndPointClass("game/{0}/api_keys", LootLockerHTTPMethod.POST);
254+
public static EndPointClass adminExtensionGetUserRole = new EndPointClass("roles/{0}", LootLockerHTTPMethod.GET);
255+
247256
}
248257
}

Runtime/Editor/Icons/caret.png

26.7 KB
Loading

Runtime/Editor/Icons/caret.png.meta

Lines changed: 166 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Loading

Runtime/Editor/Icons/hector-transparent-100.png.meta

Lines changed: 166 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)