'Finalize client registration.'

@flow.StateHandler()
def End(self):

    client = self._OpenClient()
    summary = client.GetSummary()
    self.Publish('Discovery', summary)
    self.SendReply(summary)
    client_index.CreateClientIndex(token=self.token).AddClient(client)
