CookieRepository

Repository for managing authentication and third-party cookies.

Functions

Link copied to clipboard
abstract fun enableThirdPartyCookies(webView: WebView)

Enables third-party cookies for the given WebView.

Link copied to clipboard
abstract suspend fun getGoogleCookies(tmMarketDomain: TMMarketDomain)

Retrieves Google cookies for the specified market domain.

Link copied to clipboard
abstract suspend fun saveAccessTokenCookies(tmMarketDomain: TMMarketDomain, accessToken: String, hmacID: String, language: String)

Saves access token cookies for the specified market domain.

Link copied to clipboard
abstract suspend fun saveMFACookies(tmMarketDomain: TMMarketDomain, deviceVerificationToken: String)

Saves MFA cookies for the specified market domain.