Gerasimos (Makis) Maropoulos

Results 326 comments of Gerasimos (Makis) Maropoulos

@tuhao1020 you mean in the builtin and iris-contrib middlewares? You can use the `ctx.Values()` wrap every auth middleware you use and set the proper values. I believe this is not...

OK @tuhao1020, - The `SetUsername` function was added > Note that you could modify the username before too, using the `ctx.Request().SetBasicAuth("username", "password")`* - The `Check(*http.Request) bool` method was replaced with...

Wait, `go get` does not resolve the `master` by itself? Why `go build` does? Anyway, it's fixed now, please try again.

@tuhao1020 I though of this yesterday and added a `Context.Logout` and a `Context.SetLogoutFunc` to "logout" from basicauth but these functions can be used by any middleware to add a custom...

Hello @tuhao1020, so far the implementation of that User feature is simple, and the [basic auth](https://github.com/kataras/iris/tree/master/_examples/auth/basicauth) middleware supports it: ```go // SetUser sets a User for this request. // It's...

Wow I am glad this is going interesting. I am working the last 2 days to provide a jwt user (always based on the context.User interface) implementation too (plus some...

@tuhao1020, a `GetField(key string) (interface{},error)` and `FieldsRole` were added to the User interface too. It may be useful for dynamic options but I do strongly recommend to use a custom...

News, so far, except the new `NewUser`, `VerifyUser` and `ctx.GetUser()`: - The JWT [builtin](https://github.com/kataras/iris/tree/master/middleware/jwt) middleware will support raw `map[string]interface{}` too, same features as static go structs with an embedded Claims...

@tuhao1020 I am still working on that all with the JWT, you will be suprised of the new features!! Sleepless for 40 hours

Wow thank you very much @ferdigokdemir, it's my honor that my tools helping you in development! I really don't care about money, Programming is my entire life, I have nothing...