rclone/lib/oauthutil
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
..
oauthutil.go oauthutil: support backend-specific errorHandler 2018-06-06 09:54:21 +01:00
oauthutil_new.go Move dircache, oauthutil, rest and pacer modules into lib 2018-01-12 17:07:38 +00:00
oauthutil_old.go Move dircache, oauthutil, rest and pacer modules into lib 2018-01-12 17:07:38 +00:00
renew.go Move dircache, oauthutil, rest and pacer modules into lib 2018-01-12 17:07:38 +00:00