com.paysera.lib.inrento.retrofit.NetworkAuthTokenApiClient.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.retrofit
import com.paysera.lib.inrento.entities.auth.PSAuthToken
import com.paysera.lib.inrento.entities.requests.PSAuthTokenRefreshRequest
import kotlinx.coroutines.Deferred
import retrofit2.http.Body
import retrofit2.http.POST
interface NetworkAuthTokenApiClient {
@POST("token/refresh")
fun refreshToken(@Body authTokenRefreshRequest: PSAuthTokenRefreshRequest): Deferred
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy