Commit Graph

17 Commits

Author SHA1 Message Date
Brian Kassouf
a24653cc5c
Run a more strict formatter over the code (#11312)
* Update tooling

* Run gofumpt

* go mod vendor
2021-04-08 09:43:39 -07:00
Jeff Mitchell
278bdd1f4e
Switch to go modules (#6585)
* Switch to go modules

* Make fmt
2019-04-13 03:44:06 -04:00
Jeff Mitchell
170521481d
Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
Brian Kassouf
8142b42d95 Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
Brian Kassouf
78adac0a24
Pass context to backends (#3750)
* Start work on passing context to backends

* More work on passing context

* Unindent logical system

* Unindent token store

* Unindent passthrough

* Unindent cubbyhole

* Fix tests

* use requestContext in rollback and expiration managers
2018-01-08 10:31:38 -08:00
Jeff Mitchell
948fdeacc3 Explicitly set invalid request status when a password isn't included 2016-07-25 11:14:15 -04:00
Jeff Mitchell
41922b2a9c Don't return 500 for user error in userpass when setting password 2016-07-25 11:09:46 -04:00
Jeff Mitchell
ca221009d4 Add list support to userpass users. Remove some unneeded existence
checks. Remove paths from requiring root.

Fixes #911
2016-04-09 18:28:55 -04:00
vishalnayak
4ae83b7cc8 Add comments to existence functions 2016-03-16 14:53:53 -04:00
vishalnayak
6f2b428379 Addessing review comments 2016-03-16 14:21:14 -04:00
vishalnayak
cfbab2c66f Refactor updating user values 2016-03-16 13:42:02 -04:00
vishalnayak
91f4aab933 Input validations and field renaming 2016-03-15 17:47:13 -04:00
vishalnayak
5249c0d5e0 Refactor updating and creating userEntry into a helper function 2016-03-15 17:32:39 -04:00
vishalnayak
c29a121816 Fetch and store UserEntry to properly handle both create and update 2016-03-15 17:05:23 -04:00
vishalnayak
0e1769dd5d Change path structure of password and policies endpoints in userpass 2016-03-15 16:46:12 -04:00
vishalnayak
cad1ee3a85 Reuse the variable instead of fetching 'name' again 2016-03-15 16:21:47 -04:00
vishalnayak
e51661c714 Added paths to update policies and password 2016-03-15 16:12:55 -04:00