User Agent registration with Apizee users management

In this case, User Agent is created using an account that exist on apizee cloud : Prefix "apizee:" need to be added on URI :
        var ua = UserAgent(UserAgentOptions(uri: .apizee("[put your login here]")))
    
In order to start communicating with other users, User Agent has to register to the Apizee platform. Password has to be set in order to allow authentication and user connection.
        ua.register(registerInformation: RegisterInformation(password: "[put your password here]")) { (error, session) in
            if let error = error {
                showError(error)
                return
            }
            guard let session = session else {
                showError("Session is nil")
                return
            }
            self.session = session
        }
    
Check documentation for a complete description of RegisterInformation possibilities