aboutsummaryrefslogtreecommitdiff
path: root/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'auth.go')
-rw-r--r--auth.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth.go b/auth.go
index 92901df..d4415ee 100644
--- a/auth.go
+++ b/auth.go
@@ -25,6 +25,8 @@ type authBackend interface {
Exists(name string) bool
Passwd(name string) (salt, verifier []byte, err error)
SetPasswd(name string, salt, verifier []byte) error
+ LastSrv(name string) (string, error)
+ SetLastSrv(name, srv string) error
Timestamp(name string) (time.Time, error)
Import(in []user)
Export() ([]user, error)