mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
828f565290
This is going to be the v4. Expected improvements: - More reliable due to static typing. - Bump of performance. - Improvement of logging. - Authelia can be shipped as a single binary. - Will likely work on ARM architecture.
10 lines
324 B
Go
10 lines
324 B
Go
package authentication
|
|
|
|
// UserProvider is the interface for checking user password and
|
|
// gathering user details.
|
|
type UserProvider interface {
|
|
CheckUserPassword(username string, password string) (bool, error)
|
|
GetDetails(username string) (*UserDetails, error)
|
|
UpdatePassword(username string, newPassword string) error
|
|
}
|