s-christoff and Jim
6b78108ecf
Update primary error functions to take a context, deprecate old functions ( #1358 )
...
* add new error funcs which take a ctx and deprecate existing funcs
* use context where available when writing error events
* remove circular internal/errors pkg dep
* suppress some chatty errors using errors.WithoutEvent()
* convert auth oidc funcs to take context where needed to write events
Co-authored-by: Jim <jlambert@hashicorp.com >
2021-07-29 20:52:56 -04:00
Louis Ruch
e3e96a87fa
Fix error codes
2021-03-09 08:28:33 -08:00
Louis Ruch
7387cec475
Remove sentinel errors ( #968 )
...
* Remove sentinal errors
2021-03-05 06:34:06 -08:00
s-christoff
6623be8bfb
Refactor internal/auth to return domain specific errors ( #905 )
...
* Refactor internal/auth to return domain specific errors
2021-02-11 13:32:45 -06:00
Louis Ruch
bfbb179741
ICU-738/Refactor internal/db to domain errors ( #815 )
...
* Refactor internal/db to domain errors
2020-12-21 10:07:34 -08:00
Jim
af6ef1b687
Refactor existing sentinel errors ( #774 )
2020-11-05 16:54:03 -05:00
Jim
1e71c55920
deprecate access to underlying *sql.DB via internal/db.DB() ( #506 )
2020-09-30 18:11:59 -04:00
Todd Knight
2f8d7f0a32
API Errors: Hide and log internal errors ( #411 )
2020-09-23 08:10:27 -07:00
Michael Gaffney
de162c5533
Replace and remove ErrNilParameter with ErrInvalidParameter ( #295 )
2020-08-25 12:18:14 -04:00
Jim
9570897032
basic keys mgmt repo ( #264 )
2020-08-19 16:47:18 -04:00
Todd Knight
1deea8aa3a
Fixing missed documentation fix from PR 267.
2020-08-17 10:07:56 -07:00
Todd Knight
e14f968fc3
Account (Set|Change)Passsword ( #267 )
2020-08-17 09:37:15 -07:00
Jeff Mitchell
4cfab04307
Migrate user name to login name ( #255 )
2020-08-11 17:25:00 -04:00
Michael Gaffney and Jeff Mitchell
a7c467bd68
Password - UpdateAccount and SetPassword ( #248 )
...
* Implement UpdateAccount
* Implement SetPassword
* Add tests for duplicate user names
* Fix imports broken after product rename
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
2020-08-11 10:12:36 -04:00
Jeff Mitchell
6661117d4c
The name. The name. The name!
2020-08-10 17:15:02 -04:00
Michael Gaffney
7fefd5e2fe
Change password ( #237 )
...
* Implement ChangePassword
* Refactor: extract authenticate method
* Update tests to verify oplog entries
* More refactoring
* Remove extraneous clones
* More refactoring
2020-08-06 13:03:42 -04:00
Michael Gaffney
5ceb335466
Rehash credential during authentication if config has change ( #234 )
2020-07-31 14:42:22 -04:00
Michael Gaffney and Todd Knight
6c679a9939
Add password authentication using Argon2 ( #227 )
...
* Add argon2 credentials
* Verify oplog in tests
* Refactor: rename field
* Update internal/auth/password/repository_account.go
Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com >
* Add inline comments to SQL query to doc mapping to structure
* Refactor: move authentication query to query.go file
* Replace immutable_create_time_func with immutable_columns
Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com >
2020-07-31 11:18:41 -04:00