extension/ezformtoken/event/ezxformtoken.php
static public function getToken()
    {
        if ( self::$token === null )
        {
            self::$token = sha1( self::getSecret() . self::getIntention() . session_id() );
        }

        return self::$token;
    }
static public function getToken()
    {
        if ( self::$token === null )
        {
            self::$token = sha1( self::getSecret() . self::getIntention() . session_id() );
        }

        return self::$token;
    }
static public function getToken ( ) { if ( self :: $ token === null ) { self :: $ token = sha1 ( self :: getSecret ( ) . self :: getIntention ( ) . session_id ( ) ) ; } return self :: $ token ; }
Gets the user token from session if it exists or create+store
it in session.

@return string|null
Gets the user token from session if it exists or create + store it in session .