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