anchor.diff:      end.
   
   
  +%% @private
   -spec call_onezone(connection_ref(), client(),
       gs_protocol:rpc_req() | gs_protocol:graph_req() | gs_protocol:unsub_req(), timeout()) ->
       {ok, gs_protocol:rpc_resp() | gs_protocol:graph_resp() | gs_protocol:unsub_resp()} |
  
positive.code:     TTS#temporary_token_secret{cache_state = CacheState}.
  
  
  -spec get_cache_state(Record :: tuple() | doc()) -> cache_state().
  get_cache_state(#document{value = Record}) ->
      get_cache_state(Record);
  
negative.code:     SessionAuth.
  
  
  %% @private
  -spec put_cache_state(Record :: tuple(), cache_state()) -> Record :: tuple().
  put_cache_state(User = #od_user{}, CacheState) ->
      User#od_user{cache_state = CacheState};
  