src/Security/Member.php
public function regenerateTempID()
    {
        $generator = new RandomGenerator();
        $lifetime = self::config()->get('temp_id_lifetime');
        $this->TempIDHash = $generator->randomToken('sha1');
        $this->TempIDExpired = $lifetime
            ? date('Y-m-d H:i:s', strtotime(DBDatetime::now()->getValue()) + $lifetime)
            : null;
        $this->write();
    }
public function regenerateTempID()
    {
        $generator = new RandomGenerator();
        $lifetime = self::config()->get('temp_id_lifetime');
        $this->TempIDHash = $generator->randomToken('sha1');
        $this->TempIDExpired = $lifetime
            ? date('Y-m-d H:i:s', strtotime(DBDatetime::now()->getValue()) + $lifetime)
            : null;
        $this->write();
    }
public function regenerateTempID ( ) { $ generator = new RandomGenerator ( ) ; $ lifetime = self :: config ( ) -> get ( 'temp_id_lifetime' ) ; $ this -> TempIDHash = $ generator -> randomToken ( 'sha1' ) ; $ this -> TempIDExpired = $ lifetime ? date ( 'Y-m-d H:i:s' , strtotime ( DBDatetime :: now ( ) -> getValue ( ) ) + $ lifetime ) : null ; $ this -> write ( ) ; }
Trigger regeneration of TempID.

This should be performed any time the user presents their normal identification (normally Email)
and is successfully authenticated.
Trigger regeneration of TempID .