NTP-47331 | Added retry mechanism in web redirection api (#15371)
This commit is contained in:
committed by
GitHub
parent
b78b157ff8
commit
05d65a5e1a
@@ -36,6 +36,7 @@ import com.navi.common.network.models.LitmusExperimentsRequest
|
||||
import com.navi.common.network.models.RedirectionAuthTokenRequest
|
||||
import com.navi.common.network.models.RedirectionAuthTokenResponse
|
||||
import com.navi.common.network.models.SuccessResponse
|
||||
import com.navi.common.network.retry.annotations.RetryPolicy
|
||||
import com.navi.common.payments.arc.model.network.ArcExactOfferRequest
|
||||
import com.navi.common.payments.arc.model.network.ArcExactOfferResponse
|
||||
import com.navi.common.payments.arc.model.network.ArcNudgeResponse
|
||||
@@ -189,6 +190,7 @@ interface RetrofitService {
|
||||
@Body experiments: LitmusExperimentsRequest,
|
||||
): Response<List<LitmusExperimentResponse>>
|
||||
|
||||
@RetryPolicy(retryCount = 3)
|
||||
@POST("/guardzilla/token-exchange/authorization-code")
|
||||
suspend fun fetchTemporarySessionToken(
|
||||
@Body request: RedirectionAuthTokenRequest
|
||||
|
||||
Reference in New Issue
Block a user