mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 15:07:03 +01:00
Removes unused classes
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
namespace Tgstation.Server.Host.Security.OAuth
|
||||
{
|
||||
/// <summary>
|
||||
/// Base <see langword="class"/> for tgstation forum responses.
|
||||
/// </summary>
|
||||
abstract class TGBaseResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// Expected value of <see cref="Status"/>.
|
||||
/// </summary>
|
||||
public const string OkStatus = "OK";
|
||||
|
||||
/// <summary>
|
||||
/// The response status.
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The response error, if any.
|
||||
/// </summary>
|
||||
public string Error { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
namespace Tgstation.Server.Host.Security.OAuth
|
||||
{
|
||||
/// <summary>
|
||||
/// Response when creating a tgstation forums session.
|
||||
/// </summary>
|
||||
sealed class TGCreateSessionResponse : TGBaseResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// The session's private token. Similar to OAuth authorization response code.
|
||||
/// </summary>
|
||||
public string SessionPrivateToken { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The session's public token. Barely similar to OAuth client ID.
|
||||
/// </summary>
|
||||
public string SessionPublicToken { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
namespace Tgstation.Server.Host.Security.OAuth
|
||||
{
|
||||
/// <summary>
|
||||
/// Response when getting tgstation forum user's info.
|
||||
/// </summary>
|
||||
sealed class TGGetSessionInfoResponse : TGBaseResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// The user's forum account name.
|
||||
/// </summary>
|
||||
public string PhpbbUsername { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user