All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.paysera.lib.inrento.clients.InRentoAccessTokenApiClient.kt Maven / Gradle / Ivy

There is a newer version: 1.0.18
Show newest version
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