mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 06:18:44 +02:00
documentation
This commit is contained in:
@@ -1831,6 +1831,7 @@ EOF
|
||||
* Create and store Setup authentication token
|
||||
*
|
||||
* @return string token
|
||||
* @since 2.6.5 2.7.5 3.0.0 N°3952
|
||||
*/
|
||||
public final static function CreateSetupToken()
|
||||
{
|
||||
@@ -1854,6 +1855,7 @@ EOF
|
||||
* @param bool $bRemoveToken
|
||||
*
|
||||
* @throws \SecurityException
|
||||
* @since 2.6.5 2.7.5 3.0.0 N°3952
|
||||
*/
|
||||
public final static function CheckSetupToken($bRemoveToken = false)
|
||||
{
|
||||
@@ -1873,6 +1875,7 @@ EOF
|
||||
* Check setup transaction and create a new one if necessary
|
||||
*
|
||||
* @return bool
|
||||
* @since 2.6.5 2.7.5 3.0.0 N°3952
|
||||
*/
|
||||
public static function IsSessionSetupTokenValid()
|
||||
{
|
||||
@@ -1887,6 +1890,9 @@ EOF
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.6.5 2.7.5 3.0.0 N°3952
|
||||
*/
|
||||
public static function EraseSetupToken()
|
||||
{
|
||||
$sTokenFile = APPROOT.'data/setup/authent';
|
||||
|
||||
Reference in New Issue
Block a user