taler-merchant-httpd_private-delete-instances-ID-token.h (1858B)
1 /* 2 This file is part of GNU Taler 3 (C) 2023 Taler Systems SA 4 5 GNU Taler is free software; you can redistribute it and/or modify 6 it under the terms of the GNU Affero General Public License as 7 published by the Free Software Foundation; either version 3, 8 or (at your option) any later version. 9 10 GNU Taler is distributed in the hope that it will be useful, but 11 WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public 16 License along with TALER; see the file COPYING. If not, 17 see <http://www.gnu.org/licenses/> 18 */ 19 20 /** 21 * @file taler-merchant-httpd_private-delete-instances-ID-token.h 22 * @brief implements DELETE /instances/$ID/token request handling 23 * @author Christian Grothoff 24 */ 25 #ifndef TALER_MERCHANT_HTTPD_PRIVATE_DELETE_INSTANCES_ID_TOKEN_H 26 #define TALER_MERCHANT_HTTPD_PRIVATE_DELETE_INSTANCES_ID_TOKEN_H 27 #include "taler-merchant-httpd.h" 28 29 /** 30 * Delete login token for an instance by serial. 31 * 32 * @param rh context of the handler 33 * @param connection the MHD connection to handle 34 * @param[in,out] hc context with further information about the request 35 * @return MHD result code 36 */ 37 MHD_RESULT 38 TMH_private_delete_instances_ID_token_SERIAL ( 39 const struct TMH_RequestHandler *rh, 40 struct MHD_Connection *connection, 41 struct TMH_HandlerContext *hc); 42 43 44 /** 45 * Delete login token for an instance. 46 * 47 * @param rh context of the handler 48 * @param connection the MHD connection to handle 49 * @param[in,out] hc context with further information about the request 50 * @return MHD result code 51 */ 52 MHD_RESULT 53 TMH_private_delete_instances_ID_token ( 54 const struct TMH_RequestHandler *rh, 55 struct MHD_Connection *connection, 56 struct TMH_HandlerContext *hc); 57 58 59 #endif