summaryrefslogtreecommitdiff
path: root/doc/rt-liber.texinfo
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2020-11-16 18:17:19 -0500
committerYoni Rabkin <yoni@rabkins.net>2020-11-16 18:17:19 -0500
commitf586e7dbdcc87f4086d54d755da7126f55dbb5af (patch)
treeb0bdec80624a49ed982035971af6af3602a1af67 /doc/rt-liber.texinfo
parenta5d763421c819fbbc174215d25862b739fae3ee8 (diff)
* doc/rt-liber.texinfo: update manualauth-source
Diffstat (limited to 'doc/rt-liber.texinfo')
-rw-r--r--doc/rt-liber.texinfo25
1 files changed, 22 insertions, 3 deletions
diff --git a/doc/rt-liber.texinfo b/doc/rt-liber.texinfo
index b8cb1f5..0436425 100644
--- a/doc/rt-liber.texinfo
+++ b/doc/rt-liber.texinfo
@@ -140,6 +140,25 @@ Tell rt-liberation where to find the RT server's REST interface:
(setq rt-liber-rest-url "rt.example.org")
@end lisp
+In order to authenticate with the RT server instance you need to
+provide credentials. rt-liberation looks for these in the variables
+@var{rt-liber-rest-username} and @var{rt-liber-rest-password}. You can
+set these directly:
+
+@lisp
+(setq rt-liber-rest-username "someuser"
+ rt-liber-rest-password "somepassword")
+@end lisp
+
+You can also leave these values unset (@code{nil}), in which case
+rt-liberation will look for the credentials in a Netrc file via the
+auth-source library (see: @xref{Top,,, auth, Emacs auth-source}),
+under the machine name "rt-liberation":
+
+@example
+machine rt-liberation login someuser password somepassword
+@end example
+
rt-liberation can issue a command to ``take'' a ticket (that is,
assign it to yourself). For this the variable @var{rt-liber-username}
must be set:
@@ -148,9 +167,9 @@ must be set:
(setq rt-liber-username "someuser")
@end lisp
-rt-liberation can also launch a Web browser to visit a ticket. For
-that to work the base URL needs to be set in
-@var{rt-liber-base-url}. For example:
+rt-liberation can launch a Web browser to visit a ticket. For that to
+work the base URL needs to be set in @var{rt-liber-base-url}. For
+example:
(setq rt-liber-base-url "https://rt.foo.org/")