mirror of
https://github.com/1f349/lavender.git
synced 2025-02-23 06:05:08 +00:00
14 lines
316 B
Go
14 lines
316 B
Go
package auth
|
|
|
|
import "github.com/1f349/lavender/auth/authContext"
|
|
|
|
type Form interface {
|
|
Provider
|
|
|
|
// RenderTemplate returns HTML to embed in the page template.
|
|
RenderTemplate(ctx authContext.TemplateContext) error
|
|
|
|
// AttemptLogin processes the login request.
|
|
AttemptLogin(ctx authContext.FormContext) error
|
|
}
|