register With Authentication Provider
open suspend override fun registerWithAuthenticationProvider(authenticationProvider: AuthenticationProvider, registrationId: String?): String
Registers this client against the backend with an external authentication provider. Caller must implement AuthenticationProvider protocol to return appropriate authentication token required to authorize the registration request.
Return
user ID of the newly created user
Parameters
authentication Provider
authentication provider that provides the authentication token.
registration Id
registration ID to uniquely identify this registration request.