Daniele Teti
0a80e649b7
SessionCustomData and Context.LoggedUser are filled also for public endpoint if the request contains a valid jwt
2020-04-09 13:02:08 +02:00
Daniele Teti
36ca9d43dc
https://github.com/danieleteti/delphimvcframework/issues/337
2020-04-03 11:56:14 +02:00
Daniele Teti
8144baf40c
Nulls support in MVCActiveRecord (check activerecord_showcase sample)
2020-01-06 16:49:18 +01:00
Mauricio Montuori
e088a0555e
Added Login Parameters to Swagger Documentation
2019-11-18 22:49:10 -03:00
Daniele Teti
51b0efdba4
Swagger PathID renamed to OperationID
...
Moved MVCRequiresAuthenticationAttribute into MVCFramework.pas
2019-10-30 00:25:01 +01:00
Daniele Teti
a3738777a7
Added SwagDoc
2019-09-25 14:54:04 +02:00
João Antônio Duarte
47a5c35560
Basic Authorization Header Decoding Improvements
2019-08-13 11:50:56 -03:00
João Antônio Duarte
ec2ce12089
Change in JWT middleware error return to be captured by TMVCEngine CustomHandlerException
2019-08-13 11:36:09 -03:00
viniciussanchez
db5b505cf7
IETF - RFC 6750 #244
2019-07-26 08:51:11 -03:00
Daniele Teti
9470c85514
Some fixes after the merge of https://github.com/danieleteti/delphimvcframework/issues/241
2019-07-24 20:49:08 +02:00
Vinicius Sanchez
a2176c1600
IETF - RCF 7519
...
#245
2019-07-24 14:33:58 -03:00
Vinicius Sanchez
f15d02171e
IETF national convention - RFC 6750
...
#241
*If possible remove parameters to leave in IETF default*
2019-07-24 09:35:28 -03:00
Vinicius Sanchez
ca9cbba3cb
Update MVCFramework.Middleware.JWT.pas
2019-07-23 22:50:57 -03:00
Vinicius Sanchez
180dc2e988
#241 - RFC 6750
...
The POST verb is not required for Bearer requests. #241 - RFC 6750
2019-07-22 16:51:28 -03:00
Daniele Teti
d77c77758f
https://github.com/danieleteti/delphimvcframework/issues/230
2019-07-08 19:26:45 +02:00
Daniele Teti
ad38832746
https://github.com/danieleteti/delphimvcframework/issues/230
2019-07-07 17:25:31 +02:00
João Antônio Duarte
d6ff2b5964
JWT Middleware Altered to Allow Insert custom headers Authentication, Username and Password
2019-06-11 14:42:03 -03:00
Daniele Teti
89ea997cda
Removed System.JSON dependency from MVCFramework.Middleware.JWT.pas (thank you to joaoduarte19)
2019-03-06 22:28:22 +01:00
João Antônio Duarte
10b234666f
Removed references to System.JSON
...
Improved return of exceptions
2019-03-06 13:38:26 -03:00
Daniele Teti
1b3dc4ae2c
- FIXes for Delphi 10.0 Seattle
...
- New! `TMVCActiveRecord.Count` method (e.g. `TMVCActiveRecord.Count(TCustomer)` returns the number of records for the entity mapped by the class `TCustomer`)
- Change! `TMVCACtiveRecord.GetByPK<T>` raises an exception if the record is not found
- New! `contains` clause has been added in the RQL compiler for Firebird and Interbase
- New Installation procedure! Just open the project group, build all and install the design-time package (which is `dmvcframeworkDT`)
2019-01-18 18:18:52 +01:00
Daniele Teti
8ed859b7d1
New build system based on pyinvoke
2019-01-08 12:48:53 +01:00
Daniele Teti
c5800b3354
Added dmvcframework package
...
Features freeze for 3.1 (lithium)
Working on the planned issues for this milestone https://github.com/danieleteti/delphimvcframework/milestones/3.1%20(helium)
2018-12-09 23:05:01 +01:00
Daniele Teti
c305aec5fc
https://github.com/danieleteti/delphimvcframework/issues/137
2018-07-16 12:34:10 +02:00
Daniele Teti
a4381ec719
Changed the behavior of the JWT LiveValidityWindows
...
Added milligram.css to some samples
2018-05-17 21:57:03 +02:00
Daniele Teti
b49bc82d8b
3.0 RC12 hydrogen
2018-01-29 17:30:53 +01:00
Daniele Teti
4942c3253b
JWT Optimization
2017-09-22 09:34:33 +02:00
Daniele Teti
fc72c8c49b
Some minor fixes.
...
All protected serializers methods are now public so that is possible to use the low level serialization as was possibile with the old ObjectsMappers.
2017-09-07 00:11:25 +02:00
Daniele Teti
dcc27fa794
ADDED restored LoginURL parameter in the JWT Middleware to customize the login end-point for JWT
...
ADDED better error checking in the TRESTClient
2017-07-14 18:23:00 +02:00
Daniele Teti
e52aacc391
ADDED LiveValidityWindowsInSeconds to the JWT classes.
2017-07-12 00:32:37 +02:00
Daniele Teti
9d0ab1cf45
FIX TRESTAdapter
...
FIX JSONDataObjects deserialization when some json value is null
Improved IDEExpert (now can generate CRUD methods and there is a more explicative sample method name)
REMOVED delphistompclient from submodules. It will be used as external library not required by the core.
2017-05-17 22:35:07 +02:00
Ezequiel Juliano Müller
503869635e
Version 3 Settings in Sample Applications
2017-03-30 16:22:54 -03:00
Ezequiel Juliano Müller
372bf9bc13
Refactoring, standardizing names and removing unnecessary dependencies.
2017-03-23 14:51:25 -03:00
Ezequiel Juliano Müller
ee9659762b
Refactoring and Removing Dependencies
2017-03-20 15:08:01 -03:00
Daniele Teti
ccc8ee90ab
FIX OnBeforeAction (Thank you to Marco Mottadelli)
...
More unit tests
Refactoring for XE6
Updated copyright to 2017
2017-01-05 12:45:51 +01:00
Daniele Teti
32e7a8d325
Added features selection in dmvcframework.inc
...
Added MVCFramework.Patches.pas which should try to uniform interfaces of the changed classes in different versions of Delphi
2016-12-30 20:42:49 +01:00
danieleteti
a102909941
Completed JWT Middleware (Check jsonwebtoken sample to know how to use)
2016-06-23 11:43:15 +02:00
danieleteti
1ef246a589
- Added strongly typed actions
...
- TWebContext param in the actions is optional
- In case of "action not found", the server dont returns NEVER the document index
- Refactoring
- More unit tests
- BasicDemo updated with typed actions
- Copyright updated (just formatting)
2016-06-22 17:50:31 +02:00
danieleteti
0d0d2d7aad
JWT Middleware sample
2016-05-23 17:26:05 +02:00
danieleteti
c8f22d830c
First version of JWT Middleware.
...
Based on work of "Nie Mand"
2016-05-23 17:23:10 +02:00