io.github.jahrim.chess.authentication.service.components.data.UserSession.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authentication-service Show documentation
Show all versions of authentication-service Show documentation
A service which handles registration and authentication in an application.
package io.github.jahrim.chess.authentication.service.components.data
/**
* A session of a [[User]] authenticated in this service.
*
* @param username the name of the [[User]].
* @param token the [[Token]] given to the [[User]] upon authentication.
*/
case class UserSession(username: String, token: Token)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy