com.paysera.lib.inrento.clients.InRentoAccessTokenApiClient.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-lib-inrento-sdk Show documentation
Show all versions of kotlin-lib-inrento-sdk Show documentation
Paysera: Kotlin InRento SDK Library
package com.paysera.lib.inrento.clients
import com.paysera.lib.common.retrofit.ApiRequestManager
import com.paysera.lib.common.retrofit.BaseApiClient
import com.paysera.lib.inrento.entities.auth.PSAuthToken
import com.paysera.lib.inrento.entities.requests.PSAuthTokenRequest
import com.paysera.lib.inrento.retrofit.NetworkAccessTokenApiClient
import kotlinx.coroutines.Deferred
class InRentoAccessTokenApiClient(
private val networkAccessApiClient: NetworkAccessTokenApiClient,
apiRequestManager: ApiRequestManager
) : BaseApiClient(apiRequestManager) {
fun getTokens(authTokenRequest: PSAuthTokenRequest): Deferred {
return networkAccessApiClient.getTokens(authTokenRequest)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy