Avalonia Start

This commit is contained in:
2024-03-10 19:33:34 +01:00
parent 99257c3422
commit 4d1df14fe5
32 changed files with 1284 additions and 3316 deletions

View File

@@ -24,7 +24,10 @@ namespace LaDOSE.REST
public event EventHandler<UpdatedJwtEventHandler> UpdatedJwtEvent;
public RestService() { }
public RestService()
{
}
public void Connect(Uri url, string user, string password)
@@ -36,7 +39,7 @@ namespace LaDOSE.REST
#if DEBUG
options.MaxTimeout = Int32.MaxValue;
#endif
options.Authenticator = new JwtAuthenticator("token");
options.Authenticator = new JwtAuthenticator(token);
});
this.username = user;