diff --git a/src/Tgstation.Server.Api/ApiHeaders.cs b/src/Tgstation.Server.Api/ApiHeaders.cs
index 051d3022c1..9e0b9d7772 100644
--- a/src/Tgstation.Server.Api/ApiHeaders.cs
+++ b/src/Tgstation.Server.Api/ApiHeaders.cs
@@ -53,11 +53,6 @@ namespace Tgstation.Server.Api
///
public const string OAuthAuthenticationScheme = "OAuth";
- ///
- /// The OIDC authentication header scheme.
- ///
- public const string OpenIDConnectAuthenticationSchemePrefix = "OpenIdConnect.";
-
///
/// Added to in netstandard2.1. Can't use because of lack of .NET Framework support.
///
@@ -108,11 +103,6 @@ namespace Tgstation.Server.Api
///
public TokenResponse? Token { get; }
- ///
- /// The parsed if any.
- ///
- public AuthenticationHeaderValue? AuthenticationHeader { get; }
-
///
/// The client's username.
///
@@ -262,7 +252,6 @@ namespace Tgstation.Server.Api
{
splits.RemoveAt(0);
var parameter = String.Concat(splits);
- AuthenticationHeader = new AuthenticationHeaderValue(scheme, parameter);
if (String.IsNullOrEmpty(parameter))
AddError(HeaderErrorTypes.AuthorizationInvalid, "Missing authentication parameter!");
else
@@ -331,8 +320,6 @@ namespace Tgstation.Server.Api
Password = String.Concat(basicAuthSplits.Skip(1));
break;
default:
- if (!scheme.StartsWith(OpenIDConnectAuthenticationSchemePrefix))
- AddError(HeaderErrorTypes.AuthorizationInvalid, "Invalid authentication scheme!");
break;
}
}