SessionManager

interface SessionManager

Functions

Link copied to clipboard
abstract fun nomadServiceUrl(): String?
Link copied to clipboard
abstract fun proxyCredentials(): ProxyCredentialsDTO?
Link copied to clipboard
abstract fun serverConfig(): ServerConfigDTO
Link copied to clipboard
abstract suspend fun session(): SessionDTO?
Link copied to clipboard
abstract suspend fun updateToken(accessTokenApi: AccessTokenApi, oldRefreshToken: String?): SessionDTO

Updates the access token and (possibly) the refresh token for the session.