public UsuarioEmpresaAutenticacaoController(IOptions <TokenOptions> jwtOptions, IUnitOfWork UnitOfWork, IUsuarioEmpresaRepositorio usuarioRepositorio) : base(UnitOfWork)
        {
            _usuarioRepositorio = usuarioRepositorio;

            _tokenOptions = jwtOptions.Value;
            if (_tokenOptions == null)
            {
                throw new ArgumentNullException(nameof(_tokenOptions));
            }

            _tokenOptions.Validate();

            _serializerSettings = new JsonSerializerSettings
            {
                Formatting       = Formatting.Indented,
                ContractResolver = new CamelCasePropertyNamesContractResolver()
            };
        }