x rest auth classes