Skip to content

topl-service-base / io.matthewnelson.topl_service_base / BaseServiceTorSettings / hasCookieAuthenticationSave

hasCookieAuthenticationSave

@WorkerThread abstract fun hasCookieAuthenticationSave(boolean:Boolean):Unit (source)

Saves the value for hasCookieAuthentication to TorServicePrefs. If the value is the same as what is declared in defaultTorSettings, TorServicePrefs is queried to remove the setting if it exists.

Parameters

boolean - to enable/disable

See Also

TorSettings.hasCookieAuthentication