* 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>
18 lines
588 B
Go
18 lines
588 B
Go
package password
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
// ErrTooShort results from attempting to set a password which is to
|
|
// short.
|
|
ErrTooShort = errors.New("password to short")
|
|
|
|
// ErrUnsupportedConfiguration results from attempting to perform an
|
|
// operation that sets a password configuration to an unsupported type.
|
|
ErrUnsupportedConfiguration = errors.New("unsupported configuration")
|
|
|
|
// ErrInvalidConfiguration results from attempting to perform an
|
|
// operation that sets a password configuration with invalid settings.
|
|
ErrInvalidConfiguration = errors.New("invalid configuration")
|
|
)
|