RefreshTokenService

class RefreshTokenService(sessionRepository: SessionRepository, maxSessions: Int = 5)

Constructors

Link copied to clipboard
constructor(sessionRepository: SessionRepository, maxSessions: Int = 5)

Functions

Link copied to clipboard
fun fetchSession(refreshTokenUtil: TokenUtil, refreshToken: String, appId: Long): Result<Session>
Link copied to clipboard
fun newSession(tokenUtil: TokenUtil, userId: Long, appId: Long): Result<String>