Gerasimos (Makis) Maropoulos
afa1d89a23
update deps
2020-11-25 04:47:36 +02:00
Gerasimos (Makis) Maropoulos
11e21150d0
more features and fix database/mysql:jwt example
2020-11-24 14:58:02 +02:00
Gerasimos (Makis) Maropoulos
4d857ac53f
New basic auth middleware and GetRaw on User (godocs missing)
2020-11-21 12:04:37 +02:00
Gerasimos (Makis) Maropoulos
c81b97188a
add example for https://github.com/kataras/iris/issues/1671
2020-11-13 00:34:17 +02:00
Gerasimos (Makis) Maropoulos
7b6a8f1e26
simplify some examples
2020-11-07 12:49:14 +02:00
Gerasimos (Makis) Maropoulos
d562f09531
OK, I think we are done with the new JWT package
2020-11-05 10:47:56 +02:00
Gerasimos (Makis) Maropoulos
a9e808345b
minor
2020-11-04 21:31:15 +02:00
Gerasimos (Makis) Maropoulos
579c3878f0
add a jwt tutorial + go client
2020-11-04 21:12:13 +02:00
Gerasimos (Makis) Maropoulos
ed38047385
add an example for sessions + view data as requested
2020-11-02 18:46:38 +02:00
Gerasimos (Makis) Maropoulos
f1ebddb6d9
jwt: add redis blocklist
2020-11-02 06:31:28 +02:00
Gerasimos (Makis) Maropoulos
3d59d19de6
add context partial user helper and accept a generic interface on SetUser - the same method now returns an error if the given value does not complete at least one method of the User interface
2020-10-31 15:47:28 +02:00
Gerasimos (Makis) Maropoulos
8eea0296a7
As noticed in my previous commit, the existing jwt libraries added a lot of performance cost between jwt-featured requests and simple requests. That's why a new custom JWT parser was created. This commit adds our custom jwt parser as the underline token signer and verifier
2020-10-30 22:12:16 +02:00
Gerasimos (Makis) Maropoulos
3db77684ec
add a very simple example on JWT and move the previous to the 'overview' sub folder
2020-10-18 20:31:58 +03:00
Gerasimos (Makis) Maropoulos
0d73b63b28
jwt: add the (last) helper: VerifyRefreshToken
2020-10-18 17:15:29 +03:00
Gerasimos (Makis) Maropoulos
09923183e8
add an extra security layer on JWT and able to separate access from refresh tokens without any end-developer action on the claims payload (e.g. set a different issuer)
2020-10-18 14:42:19 +03:00
Gerasimos (Makis) Maropoulos
1864f99145
New JWT features and changes (examples updated). Improvements on the Context User and Private Error features
...
TODO: Write the new e-book JWT section and the HISTORY entry of the chnages and add a simple example on site docs
2020-10-17 06:40:17 +03:00
Gerasimos (Makis) Maropoulos
8e51a296b9
Add Context.SetUser and Context.User methods
...
relative to: https://github.com/iris-contrib/middleware/issues/63
2020-10-12 15:52:53 +03:00
Gerasimos (Makis) Maropoulos
f6905a3f79
New Context.SetLogoutFunc/Logout and SetFunc/CallFunc methods
...
Read HISTORY.md
2020-10-12 02:07:04 +03:00
Gerasimos (Makis) Maropoulos
4065819688
New: i18n pluralization and variables support and more...
...
fixes : #1649 , #1648 , #1641 , #1650
relative to: #1597
2020-09-29 19:19:19 +03:00
Gerasimos (Makis) Maropoulos
85b5453ae1
add auth/jwt/refresh-token example as requested at #1635
2020-09-16 13:57:11 +03:00
Gerasimos (Makis) Maropoulos
64f95a59b4
fix ip_test (see prev commit)
2020-09-16 13:21:34 +03:00
Gerasimos (Makis) Maropoulos
1a163eb78d
minor: README
2020-09-01 17:58:07 +03:00
Gerasimos (Makis) Maropoulos
f93c8b13bc
minor: oauth2 example updates
2020-08-30 17:51:53 +03:00
Gerasimos (Makis) Maropoulos
c3205dafa1
New DirOptions.Cache field for in-memory caching and pre-compression for the fastest possible static file server
...
Read HISTORY.md it contains a breaking change, second parameter of HandleDir should be iris.Dir(...) instead of just a string
relative to: https://github.com/kataras/iris/issues/1556#issuecomment-661057446
Former-commit-id: 14b48a06fb3b99287dff543932be2937a64233b9
2020-07-24 13:03:49 +03:00
Gerasimos (Makis) Maropoulos
05ae7792df
add a rs/cors full example
...
Former-commit-id: 9655e04b91145f60e69096cbd662fef08a91f988
2020-06-09 22:12:11 +03:00
Gerasimos (Makis) Maropoulos
ed45c77be5
reorganization of _examples and add some new examples such as iris+groupcache+mysql+docker
...
Former-commit-id: ed635ee95de7160cde11eaabc0c1dcb0e460a620
2020-06-07 15:26:06 +03:00