diff options
author | Günther Wagner <info@gunibert.de> | 2022-01-12 18:26:38 +0000 |
---|---|---|
committer | Günther Wagner <info@gunibert.de> | 2022-01-12 18:26:38 +0000 |
commit | 6d65d8862ad7d39e55be0adb868c05f194250e74 (patch) | |
tree | 46ffe23af55fb90e3199b184b9c820e0f8af0c9a /rest/rest-utils.h | |
parent | 7766d718735270d1c0850685a3c7655a5726d60f (diff) | |
download | librest-6d65d8862ad7d39e55be0adb868c05f194250e74.tar.gz |
OAuth2 Pkce Workflow
Diffstat (limited to 'rest/rest-utils.h')
-rw-r--r-- | rest/rest-utils.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/rest/rest-utils.h b/rest/rest-utils.h new file mode 100644 index 0000000..cd61145 --- /dev/null +++ b/rest/rest-utils.h @@ -0,0 +1,27 @@ +/* rest-utils.h + * + * Copyright 2021 Günther Wagner <info@gunibert.de> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU Lesser General Public License, + * version 2.1, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#pragma once + +#include <glib.h> + +G_BEGIN_DECLS + +gchar *random_string (guint length); + +G_END_DECLS |