Custom authenticator in iOS

Sorry I’m a bit confused as to how Sync Gateway will handle the Google Sign In token.
Does this custom authorizer retrieve a cookie session from your web server and then passes it to the Replicator in the Android SDK.

Can you share the code for the custom authenticator in a gist?