FirebaseExtended / firebase-arduino

Arduino samples for Firebase.
Apache License 2.0
943 stars 494 forks source link

Separating WiFiClient. #443

Open chrisestesaa01 opened 5 years ago

chrisestesaa01 commented 5 years ago

We can now pass in a reference to a WiFi client from calling code. This way, we can set up the client to authenticate with a fingerprint, a certificate, or use an insecure client. The fingerprint no longer needs to be compiled with the library, therefore, the library won't need to be updated whenever the cert changes. This commit also fixes broken error message retrieval.