lavender/auth/auth.go

12 lines
244 B
Go
Raw Normal View History

2024-09-13 15:31:40 +01:00
package auth
import "github.com/1f349/lavender/database"
type LoginProvider interface {
AttemptLogin(username, password string) (database.User, error)
}
type OAuthProvider interface {
AttemptLogin(username string) (database.User, error)
}