Well it's a something of options - just because of the name (although noting in the doc block it's unused would be useful). In fact the entire method is fooked because we're passing in 2 params :p

https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/application/cms.php#L864 And they ARE documented in the Joomla User Plugin and Logout plugin :)