Commit Graph

38 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
7024f61a62
thanks for the donations ❤️ 2024-01-07 23:14:13 +02:00
Gerasimos (Makis) Maropoulos
0608c7385e
update deps 2023-12-19 15:09:49 +02:00
Gerasimos (Makis) Maropoulos
057022ca6b
auth package: export ExtractAccessToken method 2023-11-08 11:45:23 +02:00
Gerasimos (Makis) Maropoulos
ef82a07c81
update _examples dependencies 2023-11-01 19:31:17 +02:00
Gerasimos (Makis) Maropoulos
6df3ada9c8
update examples deps 2023-10-12 20:31:32 +03:00
Gerasimos (Makis) Maropoulos
d03757b996
update examples deps 2023-09-25 20:02:06 +03:00
Gerasimos (Makis) Maropoulos
effb0a983b
Update examples dependencies 2023-09-25 19:42:38 +03:00
Gerasimos (Makis) Maropoulos
b30cbdbcb3
update examples dependencies 2023-08-17 12:26:16 +03:00
Gerasimos (Makis) Maropoulos
0da32ca844
minor 2023-08-11 00:27:58 +03:00
Gerasimos (Makis) Maropoulos
a5daba277f
update examples dependencies 2023-08-11 00:22:59 +03:00
Gerasimos (Makis) Maropoulos
946ea6787d
v12.2.0 2023-03-11 22:37:55 +02:00
Gerasimos (Makis) Maropoulos
5095d862d9
minor 2023-02-19 21:44:37 +02:00
dependabot[bot]
ad89abcf37
Bump golang.org/x/net in /_examples/auth/jwt/tutorial (#2068)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-19 21:11:55 +02:00
Gerasimos (Makis) Maropoulos
196063d4db
_examples: update modules 2022-12-26 23:26:47 +02:00
Gerasimos (Makis) Maropoulos
6e82b40c2e
_examples: minor 2022-07-21 13:40:20 +03:00
Gerasimos (Makis) Maropoulos
94540fa664
_examples: minor 2022-07-19 23:22:51 +03:00
Gerasimos (Makis) Maropoulos
ef2643b046
replace ioutil with io package and other minor improvements 2022-06-17 22:03:18 +03:00
Gerasimos (Makis) Maropoulos
485395190b
update dependencies 2021-10-31 11:49:39 +02:00
Gerasimos (Makis) Maropoulos
856f65be78
remove the 'retract' directive, as it's only available on the latest go release 2021-05-28 19:09:16 +03:00
Gerasimos (Makis) Maropoulos
240fdb6dc3
API versioning improvements
Replace the go-version package with a regex-free alternative semver

the result: versioned apis have almost zero performance cost now

thanks @motogo for your kind donation ❤️ - please check your github notifications
2021-01-07 04:14:41 +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
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
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