Package knf.hydra.core.models.data
Class LoginData
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class LoginData implements Parcelable
Represents the login data used in LoginCookies
-
-
Method Summary
Modifier and Type Method Description final StringgetBaseUrl()Url used to search for cookies "CookieManager. final UnitsetBaseUrl(String baseUrl)Url used to search for cookies "CookieManager. final StringgetLoginUrl()Url for the login webpage final UnitsetLoginUrl(String loginUrl)Url for the login webpage final StringgetDesiredCookie()Cookie key to search, when the key is found and the LoginCookies.cookieValidation is true the app will consider the login as successful final UnitsetDesiredCookie(String desiredCookie)Cookie key to search, when the key is found and the LoginCookies.cookieValidation is true the app will consider the login as successful -
-
Method Detail
-
getBaseUrl
final String getBaseUrl()
Url used to search for cookies "CookieManager.getCookie(baseUrl)"
-
setBaseUrl
final Unit setBaseUrl(String baseUrl)
Url used to search for cookies "CookieManager.getCookie(baseUrl)"
-
getLoginUrl
final String getLoginUrl()
Url for the login webpage
-
setLoginUrl
final Unit setLoginUrl(String loginUrl)
Url for the login webpage
-
getDesiredCookie
final String getDesiredCookie()
Cookie key to search, when the key is found and the LoginCookies.cookieValidation is true the app will consider the login as successful
-
setDesiredCookie
final Unit setDesiredCookie(String desiredCookie)
Cookie key to search, when the key is found and the LoginCookies.cookieValidation is true the app will consider the login as successful
-
-
-
-