changed NSUInteger to ITAuthType