Changeset 455 for binary-improvements/MapRendering/SteamLoginApi.cs
- Timestamp:
- Jul 31, 2023, 4:06:13 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/SteamLoginApi.cs
r454 r455 1 using System;2 1 using System.Net; 3 using Platform.Steam;2 using JetBrains.Annotations; 4 3 using Webserver; 5 4 using Webserver.UrlHandlers; 6 5 using Webserver.WebAPI; 7 6 8 namespace AllocsFixes { 7 namespace AllocsFixes.Web { 8 [UsedImplicitly] 9 9 public class SteamLoginApi : AbsWebAPI { 10 10 public override int DefaultPermissionLevel () => 2000; … … 15 15 private const string steamLoginUrl = "loginsteam"; 16 16 17 public SteamLoginApi (Web _parentWeb) : base(_parentWeb) {17 public SteamLoginApi (Webserver.Web _parentWeb) : base(_parentWeb) { 18 18 } 19 19 … … 43 43 44 44 if (subpath.StartsWith (steamLoginUrl)) { 45 varabsoluteUrl = _context.Request.Url.AbsolutePath;45 string absoluteUrl = _context.Request.Url.AbsolutePath; 46 46 absoluteUrl = absoluteUrl.Substring (0, absoluteUrl.Length - _context.RequestPath.Length); 47 47 SessionHandler.HandleSteamLogin (_context, $"{absoluteUrl}{steamOpenIdVerifyUrl}");
Note:
See TracChangeset
for help on using the changeset viewer.