Work on new auth framework based on new storage system
Some checks are pending
/ test (push) Waiting to run
Some checks are pending
/ test (push) Waiting to run
This commit is contained in:
parent
66d6299295
commit
9496ba0cc6
5 changed files with 264 additions and 0 deletions
11
auth-new/errors.go
Normal file
11
auth-new/errors.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package auth
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
// The provided authentication method is not known to the server
|
||||
ErrUnknownAuthMethod = errors.New("unknown authentication method")
|
||||
// The user hasn't setup the provided authentication method
|
||||
ErrUnsupportedAuthMethod = errors.New("authentication method not supported for this user")
|
||||
ErrInvalidCombination = errors.New("invalid account and token combination")
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue