Is there any cases where IAuthSession.UserAuthId is something else than int or can I just safely assume it is always int?
The Type of UserAuthId is dependent on the Auth Repository used, e.g. if you're using an OrmLiteAuthRepository
it will always be an int
.