session handler with cookies.

This commit is contained in:
Miroslav Šedivý
2021-01-29 22:22:14 +01:00
parent 546cd608c3
commit 6d59b3feff
5 changed files with 113 additions and 17 deletions

View File

@ -89,5 +89,6 @@ type SessionManager interface {
ImplicitHosting() bool
Authenticate(r *http.Request) (Session, error)
AuthenticateRequest(r *http.Request) (Session, error)
Authenticate(id string, secret string) (Session, error)
}