Devise authentication should be optional

I'm working on JSON API for iOS and I want return different data for unauthenticated and authenticated.  acts_as_token_authentication_handler_for forces authentication, but without authenticate_entity filter it is possible get data. (I'm managing authorization rules in pundit)