chronograf/server
Tim Raymond d07c7ca1d6 Reorganize OAuth2 Logic
Created an oauth2 package which encapsulates all oauth2 providers,
utility functions, types, and interfaces. Previously some methods of the
Github provider were used as http.HandlerFuncs. These have now been
pulled into a concrete type called a JWTMux to implement other Oauth2
providers.

JWTMux has all of the functionality required to take a token from any
provider and store it as a JWT in a browser, and that is the extent of
its responsibilities. It implements the oauth2.Mux interface which would
potentially allow other strategies of oauth2 credential storage.
2017-02-14 16:18:41 -05:00
..
assets.go Move URLPrefixer setup to mux, add default 2017-01-27 19:14:21 -05:00
dashboards.go fix bugs 2017-01-27 04:51:31 -08:00
kapacitors.go Add disable and enable to kapacitor alerts 2017-02-10 13:48:42 -06:00
layout.go Remove explorations from backend server 2017-02-01 15:09:02 -06:00
layout_test.go Refactor to remove autogenerated code. 2016-10-26 22:10:52 -05:00
logger.go Fix mux paths to be hardcoded; clarify server start; fix golint 2016-10-28 11:27:06 -05:00
mappings.go Add server error logging 2016-11-19 11:41:06 -06:00
mux.go Reorganize OAuth2 Logic 2017-02-14 16:18:41 -05:00
proxy.go Fix kapacitor auth with basic auth in header 2017-01-10 18:51:25 -06:00
redoc.go Miscellaneous lint cleanup 2016-12-20 12:59:56 -08:00
routes.go add dashboards interface/structs 2016-12-07 16:31:22 -08:00
server.go Remove explorations from backend server 2017-02-01 15:09:02 -06:00
service.go Remove explorations from backend server 2017-02-01 15:09:02 -06:00
sources.go Update chronograf sources response 2017-02-12 16:38:05 -06:00
sources_test.go Update sources endpoint to take optional telegraf database name. 2016-11-18 16:07:53 -06:00
swagger.go Miscellaneous lint cleanup 2016-12-20 12:59:56 -08:00
swagger.json Fix swagger JSON formatting 2017-02-10 13:57:12 -06:00
url_prefixer.go Fix url_prefixer to write asset headers 2017-02-09 17:13:34 -06:00
url_prefixer_test.go Make prefixer support multiple tags, chunked enc 2017-01-27 17:00:08 -05:00
users.go Reorganize OAuth2 Logic 2017-02-14 16:18:41 -05:00
version.go Add X-Chronograf-Version header 2017-01-23 23:29:12 -08:00