.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "oauth2create" "1" "\[lq]06/06/2023\[rq]" "" "User Commands" .hy .SH NAME .PP oauth2create - program to obtain and store the oauth2 credential .SH SYNOPSIS .PP \f[B]oauth2create\f[R] {\f[I]app\f[R]} {\f[I]user\f[R]} .PP \f[B]oauth2create\f[R] [{\f[B]-h\f[R] | \f[B]--help\f[R]}] .SH DESCRIPTION .PP This manual page documents briefly the \f[B]oauth2create\f[R] command. .PP This manual page was written for the Debian distribution because the original program does not have a manual page. .PP \f[B]oauth2create\f[R] is a program to obtain the OAuth2 credential. It will output a link for users to click. The link will authorize the permission to obtain an oauth2 credential. And then the credential will be stored. .SH OPTIONS .PP The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. .TP \f[I]app\f[R] The name of the app. .TP \f[I]user\f[R] The name of the user. .TP \f[B]-h\f[R], \f[B]--help\f[R] Show summary of options. .SH FILES .TP ${HOME}/.config/oauth2token/{\f[I]app\f[R]}/config.json The secret and token of the app. This information is needed to talk to the API provider. .TP ${HOME}/.config/oauth2token/{\f[I]app\f[R]}/scopes.json The scope of the API. .SH BUGS .PP The upstream BTS can be found at https://github.com/VannTen/oauth2token/issues .SH SEE ALSO .PP \f[B]oauth2get\f[R](1) .SH AUTHOR .TP Ying-Chun Liu (PaulLiu) Wrote this manpage for the Debian system. .SH COPYRIGHT .PP Copyright \[co] 2023 Ying-Chun Liu (PaulLiu) .PP This manual page was written for the Debian system (and may be used by others). .PP Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.