Authorization Static Class

    Authorization class provides some shortcuts to information which is provided by services like IAuthorizationService, IPermissionService etc.

    you could use

    ValidateLoggedIn checks if there is a logged user and if not, throws a with error code NotLoggedIn.