Pimcore\Tool\Authentication::tokenDecrypt PHP Method

tokenDecrypt() public static method

public static tokenDecrypt ( $passwordHash, $token ) : array
$passwordHash
$token
return array
    public static function tokenDecrypt($passwordHash, $token)
    {
        $decrypted = Crypto::decryptWithPassword($token, $passwordHash);
        return explode("|", $decrypted);
    }