Warning message: init(user:realmURL is deprecated


We are getting the following warning

warning message: init(user:realmURL:enableSSLValidation:isPartial:urlPrefix:)’ is deprecated: Use SyncUser.configuration()

With v 3.7.0 I see
+[RLMSyncConfiguration initWithUser] has been deprecated in favor of-[RLMSyncUser configurationWithURL:url].

Can we have some clarification on the use of SyncUser.configuration() and what the proper methods are to authenticate? I scrubbed through the examples and didn’t find a good Swift use case of the proper implementation.