You are not logged in.
Pages: 1
So, if I understand it correctly, mORMot have everything needed to achieve the same as the code in the link, except for a JWT class for RS256 algorithm? Can I get my hopes up for such a class being made in the mORMot framework, or should I go for the workaround suggested by mpv? Off course doing all in Delphi code is preferred.
What about the x509 certificate and the JWT security token needed to authenticate?
Hello.
Could someone familiar with mORMot please have a look at the code in the link below, and tell me if the same thing can be accomplished using Delphi and mORMot? If so, any tips on where to start would be highly appreciated. Thanks!
I don't now if you want to keep all the sample projects to compile with the default OBJFPC compiler mode. But if you do, I can inform you that example 26 do not compile with this mode because
parameters in class methods cannot have the same names as class properties in this mode. See http://www.freepascal.org/docs-html/pro … gse62.html
It looks like the daemon code posted by AOG need to be updated in order to compile. I can not find a class called TSOHITServer in the mORMot source code.
Doh! I figured out my problem, totally my fault. We have been using synpdf for a couple of years. For that reason I have both a mORMot directory and a synpdf directory in my library path, both directories containing SynCommons.pas. The syndpdf directory contains an outdated version of SynCommons.pas and is listed before the mORMot directory.
PS. I can see from your about box that you have not installed Update 1 for Delphi 10 Seattle.
Hi!
I want to try out the mORMot Framework, and just downloaded mORMotNightlyBuild.zip. I was thinking that running the sample programs would be a good place to begin. The problem is that I can't compile them. Delphi 10 Seattle can not compile Synlog.pas. I'm trying to compile the project in SQLite3/Samples/MainDemo:
[dcc32 Error] SynLog.pas(1665): E2250 There is no overloaded version of 'AddDynArrayJSON' that can be called with these arguments
procedure TSynMapFile.SaveToJson(W: TTextWriter);
begin
W.AddShort('{"Symbols":');
W.AddDynArrayJSON(fSymbols);
W.AddShort(',"Units":');
W.AddDynArrayJSON(fUnits);
W.Add('}');
end;
Pages: 1