Core functionality for new aiterp.net servers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
223 B

package auth
type Authenticator interface {
ID() string
Name() string
Find(userid string) *User
Login(userid, password string) (*User, error)
Register(userid, password string, data map[string]string) (*User, error)
}