feat(auth): implemented users and user auth
#5 [Story] Create User Sessions
This commit is contained in:
13
knockoutwhistweb/app/model/sessions/PlayerSession.scala
Normal file
13
knockoutwhistweb/app/model/sessions/PlayerSession.scala
Normal file
@@ -0,0 +1,13 @@
|
||||
package model.sessions
|
||||
|
||||
import de.knockoutwhist.utils.events.SimpleEvent
|
||||
|
||||
import java.util.UUID
|
||||
|
||||
trait PlayerSession {
|
||||
|
||||
def id: UUID
|
||||
def name: String
|
||||
def updatePlayer(event: SimpleEvent): Unit
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user