[https://github.com/iris-contrib/middleware/blob/master/casbin/casbin.go#L72](https://github.com/iris-contrib/middleware/blob/master/casbin/casbin.go#L72) this line of code get `username` only by `BasicAuth` In production environment, there will be other types of auth, such as session, token, jwt, OAuth...