mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 08:00:19 +01:00
Correct documentation for ApiHeaders.IsTokenAuthentication
This commit is contained in:
@@ -119,7 +119,7 @@ namespace Tgstation.Server.Api
|
||||
public OAuthProvider? OAuthProvider { get; }
|
||||
|
||||
/// <summary>
|
||||
/// If the header uses password or TGS JWT authentication.
|
||||
/// If the header uses OAuth or TGS JWT authentication.
|
||||
/// </summary>
|
||||
public bool IsTokenAuthentication => Token != null && !OAuthProvider.HasValue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user