mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
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
|
||
|
}
|