autogenerate token.

This commit is contained in:
Miroslav Šedivý
2021-03-13 21:43:36 +01:00
parent a6b66e4d55
commit 93ac4e8332
4 changed files with 13 additions and 8 deletions

View File

@ -59,7 +59,7 @@ type Session interface {
}
type SessionManager interface {
Create(id string, profile MemberProfile) (Session, error)
Create(profile MemberProfile) (Session, error)
Update(id string, profile MemberProfile) error
Get(id string) (Session, bool)
Delete(id string) error