Add JWT paths to API (#6)

* add auth paths

* adjust AuthPath

* adjust hub to not contain properties

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
This commit is contained in:
rootdarkarchon
2023-01-02 17:04:40 +01:00
committed by GitHub
parent c01c4990d4
commit 6645eaf63f

View File

@@ -4,6 +4,12 @@ using System.Threading.Tasks;
namespace MareSynchronos.API
{
public class MareAuth
{
public const string Auth = "/auth";
public const string AuthCreate = "create";
public static string AuthFullPath = Auth + "/" + AuthCreate;
}
public interface IMareHub
{
const int ApiVersion = 16;