rclone/lib
Henning Surmeier c5286ee157 oauthutil: support backend-specific errorHandler
This allows the backend to pass a errorHandler function to the doConfig
function. The webserver will pass the current request as a parameter to
the function.
The function can then examine all paramters and build the AuthError
struct which contains name, code, description of the error. A link to
the docs can be added to the HelpURL field.
oauthutil then takes care of formatting for the HTML response page. The
error details are also returned as an error in the server.err channel
and will be logged to the commandline.
2018-06-06 09:54:21 +01:00
..
atexit atexit: prevent Run from being called on nil signal 2018-05-12 18:59:25 +02:00
dircache drive: fix DirMove leaving a hardlinked directory behind #2245 2018-04-15 10:12:21 +01:00
oauthutil oauthutil: support backend-specific errorHandler 2018-06-06 09:54:21 +01:00
pacer pacer: attempt to fix occasional "beginSleep didn't fire" test failures 2018-02-27 11:06:59 +00:00
readers Use io.SeekStart/End/Current constants now for go1.7+ #2154 2018-04-07 11:42:36 +01:00
rest rest: Add RemoveHeader and SetCookie method 2018-04-20 21:43:54 +01:00