SwiftprotocolWeatherCore
HashSaltProviderType
protocol WeatherCore.HashSaltProviderType
Members 5
- func
method descriptor for addObserver(WeatherCore.HashSaltProviderObserver) -> () - func
method descriptor for generateSalt() -> String - func
method descriptor for isSaltAvailable(completion: (Bool, Error?) -> ()) -> () - func
method descriptor for removeObserver(WeatherCore.HashSaltProviderObserver) -> () - var
var salt: String? { get }
Header
protocol HashSaltProviderType { var salt: Swift.String? { get } func isSaltAvailable(completion: @escaping (Swift.Bool, (any Swift.Error)?) -> ()) func generateSalt() -> Swift.String func addObserver(_: any WeatherCore.HashSaltProviderObserver) func removeObserver(_: any WeatherCore.HashSaltProviderObserver) }